From: Jan-Frode Myklebust [mailto:janfrode@parallab.no]
Create a VirtualHostMonster in the root of your zope folder. Call it 'VirtualHostId' (or whatever).
Add these two lines to your httpd.conf:
RewriteEngine On RewriteRule ^/Zope/(.*) http://localhost:8080/VirtualHostBase/http/ukdcw5163:80/VirtualHostRoot/$1 [L,P]
and 'apachectl restart'.
I still get "Permission denied". Do I need something in Apache to say that the /Zope (virtual) directory is accessible to browsers? I tried a <Location /Zope> Order allow,deny Allow from all </Location> block, but that did no good... Paul.
On Apache 2 My observation has been that if you use the ProxyPass module with the virtual host modules for zope it sends back a 403 (forbidden). Comment out everything between <IfDefine mod_proxy> or something to that effect and its ending tag. hth AM Moore, Paul wrote:
From: Jan-Frode Myklebust [mailto:janfrode@parallab.no]
Create a VirtualHostMonster in the root of your zope folder. Call it 'VirtualHostId' (or whatever).
Add these two lines to your httpd.conf:
RewriteEngine On RewriteRule ^/Zope/(.*) http://localhost:8080/VirtualHostBase/http/ukdcw5163:80/VirtualHostRoot/$1 [L,P]
and 'apachectl restart'.
I still get "Permission denied". Do I need something in Apache to say that the /Zope (virtual) directory is accessible to browsers?
I tried a
<Location /Zope> Order allow,deny Allow from all </Location>
block, but that did no good...
Paul.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ================================================================== Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231 ================================================================== "I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================
On Tue, Jan 21, 2003 at 03:42:33PM -0000, Moore, Paul wrote:
RewriteEngine On RewriteRule ^/Zope/(.*) http://localhost:8080/VirtualHostBase/http/ukdcw5163:80/VirtualHostRoot/$1 [L,P]
and 'apachectl restart'.
I still get "Permission denied". Do I need something in Apache to say that the /Zope (virtual) directory is accessible to browsers?
No. Who's giving you "Permission denied"? Zope or apache? Beware that the rewrite-string suggested will not rewrite http://ukdcw5163/Zope without a trailing '/'. i.e. http://ukdcw5163/Zope/ You can of course change this with: RewriteRule ^/Zope(.*) http://localhost:8080/VirtualHostBase/http/ukdcw5163:80/VirtualHostRoot/$1 [L,P] -jf
participants (3)
-
AM -
Jan-Frode Myklebust -
Moore, Paul