apache rules with zope
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@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/ ==========================================
----- Original Message ----- From: "Thomas Bennett" <bennetttm@appstate.edu> To: <zope@zope.org> Sent: Friday, September 04, 2009 2:58 PM Subject: [Zope] apache rules with zope
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.
You don't usually access underlying file directories directly from zope unless you are using external methods or an add-on product like "ExtFile". How are you trying to access these directories? Jonathan
participants (2)
-
Jonathan (dev101) -
Thomas Bennett