How about something like this::
<VirtualHost *:80>
    ServerAdmin [EMAIL PROTECTED]
    ServerName live.commsg6lds
    RewriteEngine On
    RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/http/live.commsg6lds:80/extranet/VirtualHostRoot/$1
[L,P]
</VirtualHost>
<VirtualHost *:80>
    ServerAdmin [EMAIL PROTECTED]
    ServerName dev.commsg6lds
    RewriteEngine On
    RewriteRule ^/(.*)
http://localhost:9080/VirtualHostBase/http/dev.commsg6lds:80/extranet/VirtualHostRoot/$1
[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 [EMAIL PROTECTED]
    ServerName commsg6lds
    RewriteEngine On
    RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/http/commsg6lds:80/extranet/VirtualHostRoot/$1
[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
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to