Click to See Complete Forum and Search --> : apache and user public_html directory
H. M. Murdock
03-23-2001, 07:24 PM
Hi,
I just upgraded a computer from RH 6.1 to RH 7.0, I had to move my /home/html dir to the /var/www/ directory and it was working. I have noticed one little problem though. I have a few users that have the own webpages in the ~<loginname>. They work fine if they have an index.html file in thier public_html dir, but if they don't it says access denied. Is there a way to allow this access?
Thanks,
Murdock
micxz
03-24-2001, 11:55 PM
Check httpd.conf and look for things like "<Directory>" make have per directory permission configurations and "Directory Indexes" or "Directory Indexing on/off" to see if this is enabled. good luck let me know if this doesn't work,
micxz
H. M. Murdock
03-25-2001, 01:54 AM
micxz,
I used grep to look through the file for directory and index, but coulnd find anything like you said. I noticed that i have the httpd.conf.rpmsave, which is my old httpd.conf file, so I will look through that to see if I can find the answer. Thanks for your help.
Murdock
micxz
03-26-2001, 02:13 AM
Mine looks like:
<VirtualHost 63.125.155.226>
ServerAdmin micah@raspberrymedia.com
ServerName micah.raspberrymedia.com
DocumentRoot /path/to/my/micah/htdocs/
ScriptAlias /cgi-bin/ /path/to/my/micah/cgi-bin/
CustomLog /path/to/my/micah/logs/micah_httpd_log combined
ErrorLog /path/to/my/micah/logs/micah_error_log
DirectoryIndex index.html index.htm default.html default.htm default.shtml index.shtml index.php index.php3 index.phtml
SSLEngine off
</VirtualHost>
I would add Fancy Indexing On if you like.
Look for things like:
<Directory /path/to/yourplace>
</Directory>
and
Limit GET POST
and
order allow deny
hope this helps any?
[ 26 March 2001: Message edited by: micxz ]