[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[K12OSN] Fedora Core 1 - Apache 2.0.47-10 - 403 Permission Denied
- From: Shawn Iverson <shawn nccsc k12 in us>
- To: "'k12osn redhat com'" <k12osn redhat com>
- Subject: [K12OSN] Fedora Core 1 - Apache 2.0.47-10 - 403 Permission Denied
- Date: Wed Jan 7 19:10:12 2004
I recently had a server die on me and am in the process of rebuilding a new
one, but I was talked into using Fedora Core 1 this time around. I am going
nuts over a simple problem. Perhaps someone could help?
Using apache with default settings I can pull up the apache test page fine
when I type in the server's address. I can also open any html page that is
in /var/www/html/, which is normal.
What is causing trouble is that any subdirectory under /var/www/html (such
as /var/www/html/mywebpages) cannot be accessed, even though it has the same
ownership and permissions as /var/www/html. I even tried chmod -R 777
/var/www/html/mywebpages and chown -R apache:apache /var/www/html/mywebpages
with no resolve (httpd is running as user apache) just to test and see.
The /var/log/httpd/error-log has the following error:
client denied by server configuration: /var/www/html/mywebpages
Well, ok, so I tried the following (bear in mind that up to this point I
have edited nothing in httpd.conf):
<Directory "/var/www/html/mywebpages">
Options Indexes MultiViews
AllowOverride None
Order allow,deny (also tried deny,allow)
Allow from all
</Directory>
Then I did a killall -HUP httpd...still doesn't work.
I also tried service httpd restart with no improvement.
I also have some apps in /usr/local/ that contain webpages to be displayed,
but all attempts to alias them and grant access with a <Directory> have
failed.
I can't seem to get anything to work anywhere except directly in the html
folder! However, the /var/www/icons folder works, so I tried /var/www/mrtg
configured exactly as the icons folder is in apache:
Alias /mrtg/ /var/www/mrtg/
<Directory "/var/www/mrtg">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
I also made sure the permissions and ownership were exactly like the icons
directory. It didn't work! This doesn't make any sense to me and I have beat
my head against the wall trying to figure this out.
Shawn Iverson
Technology Associate
New Castle Community School Corporation
765-593-6691
shawn nccsc k12 in us
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]