Description of Problem: UserDir setting in apache does not appear to work in default config. How Reproducible: Steps to Reproduce: 1. create tjacobs user 2. create public_html directory 3. create a default index page in /home/tjacobs/public_html 4. using default config restart apache Actual Results: When I attempt to browse the above listed directory I get the following error in /var/log/httpd/error_log [Thu May 31 00:54:01 2001] [error] [client 66.26.229.191] File does not exist: /home/httpd/tjacobs/public_html/ I do not understand why apache is trying to go to / /home/httpd/tjacobs/public_html/. The error_log is correct... that directory does not exist but it's trying to go there anyway and that bears no relation to the actual config file. Something is very wrong. Expected Results: The browse should work. Additional Information: I have previously contacted Nalin about this.
Works fine here. What URL do you use when trying to access your default index page? What do you get for "grep apache /etc/passwd"? What do you get for "grep DocumentRoot /etc/httpd/conf/httpd.conf"?
What URL do you use when trying to access your default index page? http://www.moongroup.com/~tjacobs/ What do you get for "grep apache /etc/passwd"? apache:x:48:48:Apache:/var/www:/bin/false What do you get for "grep DocumentRoot /etc/httpd/conf/httpd.conf"? DocumentRoot "/var/www/html"
Hmmm, when I "rpm -e apache ; rm -rf /etc/httpd", and install from scratch, I get this (obviously): [Fri Jun 15 01:29:08 2001] [error] [client 192.168.1.4] Directory index forbidden by rule: /home/tjacobs/public_html/ tjacob's home is /home/tjacobs, of course. Hence I go to httpd.conf and enable UserDir directories, e.g. by uncommenting the example entry <Directory /home/*/public_html>. Works for me. Don't see where your /home/httpd comes from at all. It is an old DocumentRoot.
this one is fixed. the problem was an incorrect path in the passwd file... weird! So... it's okay to close this one if it's not already closed! Thanx... I sent Nalin a direct email about this...
Okay, closing this one out as worksforme.