Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i finally got apache up and running but now im trying to figure out what directory my webpage goes in. the help files say DocumentRoot /usr/web
no such directoy exists on my machine.
also can i test my own webpage by typing in my address to see if others can acess it. i have no errors now and if i type in http://localhost/ or http://127.0.0.1 then i see the default web page that tells me everthing is good. but if i try to http://www.schrock.no-ip.org then i get a unknown host. could this be due to my fire wall im using firestarter. is there some way i need to configure my firewall to allow for apache. maybe selecting www for my network service access. or maybe just completely open port 80 up.
well i put my generic webpage in the directory file:/mnt/hda2/webpage/TEST1.HTML and im still getting my defualt page. im going to see if i have changed this setting somehow. also maybe you or someone else might know of a way of testing to see if my isp blocks port 80 i checked my isp's website with no luck. i really dont want to call and ask that probly wouldnt be a good idea.
i regesterd a domain name it said it will take 24 hours before it will be excessiblef from the WWW hopefully i can get this going tomarrow.
thanks for all your help Crashed_Again this is a completely new thing to me ive been stuck behind CAD systems for way too long ,
AD
here is my file:/etc/httpd/conf/httpd.conf
it says that server root is /etc/httpd
hmmmm maybe this is a redhat thing?
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE! If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at <URL:http://httpd.apache.org/docs-2.0/mod/core.html#lockfile>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "/etc/httpd"
this is crazy im thinking about reinstalling the server from apt-get instead of what i have been using from on the redhat cd's. maybe its red hat and a different rpm build might have happened with freshrpms.net
Ok, read your httpd.conf carefully, forget what the docs say, or what a website says and find out what your DocumentRoot is. That is where you put your top level index.html
This is what mine is, but of course your's will be different:
Code:
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/home/httpd/htdocs"
either put your index.html here, or change the directive to where you want to serve your website from.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.