Again: help to vhm & apache rewrite problem
Hi all, I'd really appreciate any help on this: I'm trying to do a virtual host mapping with apache. I've the Rewrite Module working, and trying to do the following(in the .htaccess- file): RewriteEngine On RewriteRule ^/(.*)$ http://127.0.0.1:8080/VirtualHostBase/http/www.mydomain.de:80/Chris/mydo main.de [L,P] Also, I tried without the [L,P]. it just shows the directory index of the webserver- not zope. If I try it with /* ... I get the Zope-Site, but with the full path (./VirtualHostBase/http/...) Can anyone help?!? Thanks, Chris
Christian Kasprowicz wrote:
RewriteRule ^/(.*)$ http://127.0.0.1:8080/VirtualHostBase/http/www.mydomain.de:80/Chris/mydomain... [L,P]
1. Make sure you've got a Virtual Host Monster to the root Folder of your Zope. 2. Use this Rule (all on one line): RewriteRule ^/(.*) http://127.0.0.1:8080/VirtualHostBase/http/www.mydomain.de:80/Chris/mydomain... [L,P] Cheers, Evan @ 4-am
participants (2)
-
Christian Kasprowicz -
Evan Simpson