OK, you also need to change a section on commonapache.conf... In the section beginning: <Directory /home/httpd/htdocs>, change this to your directory and set any access controls you want.
Dan On Fri, Apr 04, 2003 at 05:28:40AM -0700, Carlos C. Gonzalez wrote: > My Apache install on Gentoo is working just fine in terms of pulling up the > default file from the default DocumentRoot when I go to "localhost" through > my browser. You know that one that says "Seeing this instead of the website > you expected?". > > That file is the /home/httpd/htdocs/index.html.en file. The permissions on > that file are set to > > -rw-r--r-- 1 root root 1456 Mar 12 05:02 index.html.en > > All the directories (i.e. /home, /home/httpd, /home/httpd/htdocs) are all set > to chmod 755. > > Now my DocumentRoot is at /home/carlos/web-sites/internetsuccess.ca and the > file I want to pull up from that directory is index.html. > > All my directories from home on down are at chmod 755 (at least until I get > Apache working). > > Inside /etc/apache/conf/apache.conf I changed just the following line.... > > DocumentRoot /home/httpd/htdocs > > to... > > DocumentRoot /home/carlos/web-sites/internetsuccess.ca > > That's it. My access log says... > > "127.0.0.1 - - [04/Apr/2003:05:13:23 -0700] "GET / HTTP/1.1" 403 280 "-" > "Mozilla /5.0 (compatible; Konqueror/3.1; Linux)" > > Forbidden. My error log says... > > [Fri Apr 4 05:24:14 2003] [error] [client 127.0.0.1] client denied by server > configuration: /home/carlos/web-sites/internetsuccess.ca > > I renamed my .htaccess file to .hhtaccess which should make it void and of no > use. So I don't think it's anything to do with an .htaccess file. > > Anybody got any suggestions as to how to get Apache to recognize my > DocumentRoot? I've spent over an hour trying to figure this out and haven't > been able to so far. > > Carlos > www.internetsuccess.ca > > > -- > [EMAIL PROTECTED] mailing list > -- [EMAIL PROTECTED] mailing list
