Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

Mod_Rewrite port 8080

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


cybercruiserz at yahoo

Apr 6, 2009, 10:01 AM

Post #1 of 4 (1478 views)
Permalink
Mod_Rewrite port 8080

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>






_______________________________________________
Zope maillist - Zope [at] zope
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 )


ric at digitalmarbles

Apr 6, 2009, 11:08 AM

Post #2 of 4 (1410 views)
Permalink
Re: Mod_Rewrite port 8080 [In reply to]

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 [at] zope
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 )


robert at redcor

Apr 6, 2009, 1:52 PM

Post #3 of 4 (1409 views)
Permalink
Re: Mod_Rewrite port 8080 [In reply to]

Bobby schrieb:
> 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>
>
>
>
>
>
>
> _______________________________________________
> Zope maillist - Zope [at] zope
> 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 )
>
>
go to plone.org
there are step by step examples.
you find them under dokumentation
robert
_______________________________________________
Zope maillist - Zope [at] zope
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 )


zopelist at betabug

Apr 7, 2009, 10:49 AM

Post #4 of 4 (1440 views)
Permalink
Re: Mod_Rewrite port 8080 [In reply to]

(Mon, Apr 06, 2009 at 10:01:52AM -0700) Bobby wrote/schrieb/egrapse:
> 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

http://wiki.zope.org/zope2/ZopeAndApache for the theory
http://betabug.ch/zope/witch for the rewrite rule

Regards,

Sascha

_______________________________________________
Zope maillist - Zope [at] zope
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 )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.