[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Zope] Any apache Rewrite experts out there?
I just added zope to my site and have it serve all the public stuff. I want
the apache still to serve all the user directories on our server, but I'm
having real troubles to set up my httpd.conf to steer www.domain.com/~user
to where it belongs while www.domain.com/ is taken to the zope.
Currently the public www stuff resides in a folder WWW which is on the zope
root. There's one VHM on the zope root also
Below is the httpd.conf file as it is now, but it won't rewrite /~user
requests right.
Any help very much appreciated.
jokke h.
----
<VirtualHost my.domain.com>
ProxyPass /
http://localhost:8080/VirtualHostBase/http/www.domain.com:80/VirtualHostRoot
/WWW/
ProxyPassReverse /
http://localhost:8080/VirtualHostBase/http/www.domain.com:80/VirtualHostRoot
/WWW/
RewriteEngine On
Rewriterule /~(.+) http://users.domain.com/~$1 [R,L]
RewriteRule /WWW/.*
http://localhost:8080/VirtualHostBase/http/www.domain.com:80/VirtualHostRoot
/WWW/ [R]
RewriteRule /index.html
http://localhost:8080/VirtualHostBase/http/www.domain.com:80/VirtualHostRoot
/WWW/ [R]
ServerName www.domain.com
</VirtualHost>
_______________________________________________
Zope maillist - Zope@xxxxxxxx
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 )
This mailing list archive is a service of Copilotco.