List Info

Thread: Re: Embedding Plone within an existing website




Re: Embedding Plone within an existing website
country flaguser name
United States
2007-10-22 00:28:23


TDrudge wrote:
> 
>         RewriteRule ^/myPlone
> http://www.mysite.com:80
80/VirtualHostBase/http/www.mysite.com:80/Plone/VirtualHostR
oot/$1
> [L,P]
> 
> 

You are close, you just need to modify your rewrite rule a
little bit. Try
this:

RewriteRule ^/myPlone(/|$)(.*) 
http://www.my
site.com:8080/VirtualHostBase/http/www.mysite.com:80/Plone/V
irtualHostRoot/_vh_myPlone$2
[L,P]

You need the (/|$)(.*) to grab anything after the /myPlone
part of the URL
(and tack a / after /myPlone if it's left off in the
reqeust). The
_vh_somepath can be nested as deep as required, and tells
Plone that's it's
a sub-site.
-- 
View this message in context: http://www.nabble
.com/Embedding-Plone-within-an-existing-website-tf4668417s15
482.html#a13336079
Sent from the Installation, Setup, Upgrades mailing list
archive at Nabble.com.


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )