On Apr 6, 2009, at 10:01 AM, Bobby wrote:

>
> Hi,
>
> I want to use mod_rewrite on Apache to redirect http://internal:80/internal 
>  to http://internal:8080/internal so that when the user request 
> http://internal:80/internal 
> , the Zope folder foo will be served up. I still want http://internal:80/ 
>  to stay intact so that the contents from port 80 will still be  
> served; just the http://internal:80/internal to point to the Zope  
> folder http://internal:8080/internal. Hope that makes sense. Could  
> someone help me out with the syntax?  Tried the syntax below but not  
> getting desired results. Thanks!
>
> <VirtualHost internal>
> ServerName internal
> RewriteEngine On
> RewriteRule ^/(.*) 
> http://internal:8080/VirtualHostBase/http/internal:80/internal/VirtualHostRoot/$1
>  
>  [L,P]
> </VirtualHost>



http://www.google.com/search?q="Virtual+Host+Monster"+"Inside+Out";

> RewriteRule ^internal/(.*) 
> http://internal:8080/VirtualHostBase/http/internal:80/internal/VirtualHostRoot/_vh_internal/$1
>  
>  [P]



Ric



_______________________________________________
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