[techtalk] Apache Server
Christian MacAuley
csm at jellspace.net
Mon Oct 23 14:03:40 EST 2000
> I have found out that my webroot dir is in /home/httpd/html/index.html
> I tried to configure as you have pointed out in etc/httpd/conf/httpd.conf
> as follow
> document root /home/antonxie/www/htdocs
> and have mkdir-ed all necessary directory
> I restart the computer...it doesn't work either
> I try httpd -d /home/antonxie/www/htdocs to no avail
> I try httpd -f /etc/httpd/conf/httpd.conf to no avail either....
> help needed.... more guidance please:)
Hi, Anton. The exact directive you want to set is DocumentRoot in
httpd.conf, replacing whatever previous DocumentRoot directive was already
there. The best way to restart Apache (in my opinion) is to use this
command:
apachectl graceful
You'll need to put an index.html file in /home/antonxie/www/htdocs.
While you're editing the httpd.conf file, you'll find a ton of other
directives that you need to configure, too. *Read* the conf file and all of
it's comments entirely, and look up what you don't understand in the docs.
This is one of the best ways to learn how to use Apache - as long as you're
careful with what you change.
Good luck :)
~Christian
____________________________________________________________________
? Christian MacAuley ? http://colortheory.net ? http://jellspace.net
More information about the Techtalk
mailing list