On Mon, Aug 30, 2004 at 03:19:33PM -0500, Heather Perkins wrote:
Hello everyone. I am trying to rewrite the URL for my Plone Portal using the Zope Virtual Hosting Monster and Apache's RewriteEngine. However, I can't quite get the rewritten URL to work.
My site is located at: http://pyrite.truman.edu:8201/miller My desired url is: http://pyrite.truman.edu/millerj
My VirtualHost block in Apache's httpd.conf file looks like: <VirtualHost pyrite.truman.edu> ServerName pyrite.truman.edu RewriteEngine On # currently used RewriteRule (delete this when the Zope # VHM rewrite rule is correctly configured) RewriteRule ^/millerj(.*)$ http://pyrite.truman.edu:8201/miller$1 [L,P] # uncomment this RewriteRule when you figure out how to # anchor the site properly # RewriteRule ^/millerj(.*)$ http://pyrite.truman.edu:8201/miller/VirtualHostBase/http/pyrite.truman.edu:... </VirtualHost>
Any help would be greatly appreciated.
I think what you want is: RewriteRule ^/millerj/(.*) http://pyrite.truman.edu:8201/VirtualHostBase/http/pyrite.truman.edu:80/mill... -- Paul Winkler http://www.slinkp.com