2000-05-29 02:49:55 +00:00
|
|
|
# *** *** ***
|
|
|
|
# -------------------
|
|
|
|
# Zope Configuration.
|
|
|
|
# -------------------
|
|
|
|
#
|
|
|
|
# IMPORTANT: In order for SSL access to work, copy the part between the
|
|
|
|
# lines with the nine asterisks * to your SSL virtual host section, too!
|
|
|
|
#
|
|
|
|
# This rule adds the trailing slash if omitted. So, we will have it for
|
|
|
|
# all subsequent rules
|
|
|
|
RewriteEngine on
|
|
|
|
RewriteRule ^/Zope$ /Zope/ [R]
|
|
|
|
#
|
|
|
|
# Zope requires the authentication headers to be passed to it if it is
|
|
|
|
# called through the cgi of another web server (like apache). An "easy"
|
|
|
|
# way to do so is to do a little mod_rewrite'ing. See doc/WEBSERVER.txt in
|
|
|
|
# your Zope base directory for further information.
|
|
|
|
#
|
2000-09-19 09:49:04 +00:00
|
|
|
# Uncomment the first RewriteRule if you move Zope.cgi into
|
|
|
|
# /usr/local/www/cgi-bin
|
|
|
|
#
|
2000-05-29 02:49:55 +00:00
|
|
|
# This maps maps /Zope/ to the Zope.cgi CGI script.
|
|
|
|
RewriteCond %{HTTP:Authorization} ^(.*)
|
2000-09-19 09:49:04 +00:00
|
|
|
#RewriteRule ^/Zope/(.*) /usr/local/www/cgi-bin/Zope.cgi/$1 [env=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
|
|
|
|
RewriteRule ^/Zope/(.*) /usr/local/www/cgi-bin.default/Zope.cgi/$1 [env=HTTP_CGI_AUTHORIZATION:%1,t=application/x-httpd-cgi,l]
|
|
|
|
#
|
|
|
|
|
|
|
|
# *** *** ***
|
|
|
|
#
|
|
|
|
# This lets the Zope cgi script run:
|
2000-05-29 02:49:55 +00:00
|
|
|
#
|
2000-09-19 09:49:04 +00:00
|
|
|
|
|
|
|
<Directory /usr/local/www/cgi-bin.default>
|
|
|
|
Options +ExecCGI
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
|
2000-05-29 02:49:55 +00:00
|
|
|
# *** *** ***
|
|
|
|
#
|
2000-09-19 09:49:04 +00:00
|
|
|
# To require SSL to access the Zope management screens, uncomment the
|
|
|
|
# next section:
|
|
|
|
#
|
|
|
|
#<IfDefine SSL>
|
|
|
|
#<LocationMatch "/Zope/(.*)manage(.*)">
|
|
|
|
# SSLRequireSSL
|
|
|
|
#</LocationMatch>
|
|
|
|
#
|
|
|
|
#<LocationMatch "/cgi-bin/Zope.cgi(.*)manage(.*)">
|
|
|
|
# SSLRequireSSL
|
|
|
|
#</LocationMatch>
|
|
|
|
#</IfDefine>
|
2000-05-29 02:49:55 +00:00
|
|
|
#
|
|
|
|
# End of Zope configuration section.
|
|
|
|
|