Apache 2.2 & Content Switches
Hello people,
I work at a university library and our institution's networks deparment has a lot of "things" in place between our library network and the outside world. One of those "things" being a content switch. So, people in the outside world generally get to our web content via the following url: (not actual hostname, domain & ip, obviously) Code:
www.mylibrary.myuniversity.edu = ip 123.123.123.123 Code:
hostname.mylibrary.myuniversity.edu = ip 456.456.456.456 Code:
<Directory /srv/www/htdocs/foo> Code:
hostname.mylibrary.myuniversity.edu/foo Code:
www.mylibrary.myuniversity.edu/foo - Gavin |
Try following, may work !
Code:
<Directory /srv/www/htdocs/foo> |
Thanks sn 68. :scratch: I don't understand why you think that would work, but I tried it anyway. No luck. Maybe I didn't explain my problem clear enough. Perhaps you could explain your reasoning? :D
|
My reasoning was that the syntax gives allow first & deny later, but apparently that doesn't seem to make a difference
The problem could be SElinux policy, something to do with SELinux context labels, in such cases 403 error occurs even though permissions are correct when accessing through www because the context label was wrong to configure chcon -R -h -t httpd_sys_content_t /srv/www/htdocs/foo For more google for - apache "SELinux Security Context File Labels" |
All times are GMT -5. The time now is 09:17 PM. |