How about something like this:: <VirtualHost *:80> ServerAdmin ian.ripping@cfh.nhs.uk ServerName live.commsg6lds RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/live.commsg6lds:80/extranet/Virtu... [L,P] </VirtualHost> <VirtualHost *:80> ServerAdmin ian.ripping@cfh.nhs.uk ServerName dev.commsg6lds RewriteEngine On RewriteRule ^/(.*) http://localhost:9080/VirtualHostBase/http/dev.commsg6lds:80/extranet/Virtua... [L,P] </VirtualHost> What way live.commsg61ds points to zope on port 8080 and dev.commsg61ds points to another zope on port 9080 ianripping wrote:
I have tried using the exaplme provided but having no luck.
This is my standard config file:
<VirtualHost *:80> ServerAdmin ian.ripping@cfh.nhs.uk ServerName commsg6lds RewriteEngine On RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/commsg6lds:80/extranet/VirtualHos... [L,P] </VirtualHost>
I am using rewrite rule and this works for just the internal address http://commsg6lds
How would I configure this for http://live.commsg6lds Do I have to enable NameVirtualHost? What should I have for listen? Currently: Listen 80
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com