[Zope] apache rules with zope
Thomas Bennett
bennetttm at appstate.edu
Fri Sep 4 14:58:23 EDT 2009
I can access two directories in /var/www but not two others.
I have this rule in httpd.conf before the rewrite rules for Zope:
RewriteCond %{REQUEST_URI} !^/(usage|zusage|ead2002|asu_ead)
The usage and zusage directories work, that is /usage goes to the
/var/www/usage directory not looking on Zope/ZODB. Same with the zusage
directory. But ead2002 and asu_ead directories give a Not Found error from
Zope. The Alias and Directory tags in httpd.conf are the same for all four.
The ead2002 and asu_ead directories were added after disabling SE Linux so
those two are not controlled by an access control list and after disabling SE
Linux I would think the others are not controlled by an access control list.
The server was rebooted after disabling SELinux with the relable option
checked.
[root at localhost www]# ls -laZ
drwxr-xr-x root root ? asu_ead
drwxr-xr-x root root ? ead2002
drwxr-xr-x. webmaster webmaster system_u:object_r:httpd_sys_content_t:s0 usage
drwxr-xr-x. root root unconfined_u:object_r:httpd_sys_content_t:s0
zusage
There's nothing in the httpd, messages, or secure error logs.
Thanks for any help,
Thomas
--
==========================================
Thomas McMillan Grant Bennett Appalachian State University
Operations & Systems Analyst P O Box 32026
University Library Boone, North Carolina 28608
(828) 262 6587
Library Systems Help Desk: https://www.library.appstate.edu/help/
==========================================
More information about the Zope
mailing list