
On Tue, Nov 3, 2009 at 5:46 PM, Odhiambo Washington <odhiambo@gmail.com> wrote:
htaccess files would also do the same thing, something like Redirect 301 / http://localhost:8080/ will redirect all traffic from http://localhost/ (i.e. http://localhost:80/) to http://localhost:8080/
How then does Apache know about the existence of a Zope site from the .htaccess file? Sorry, I've never ran a site on Zope before so I am only looking at the Apache side of things? I am a little bit lost. --
Zope has its own virtual-host-manager, you could run it without apache ... You could also proxy zope behind apache virtual hosts ... To do the latter you enable mod_proxy and mod_rewrite on apache and use the zope virtual host base (which runs on port 10080 by default ..and use mod_rewrite rules with a apache virtual host to proxy all requests for the virtual-hosted-domain to the specific zope application...something like : <http://localhost:10080/VirtualHostBase/http/%{SERVER_NAME}:80/zope_app_folder_my_com/VirtualHostRoot/$1 [L,P]>