logo       

Re: Embedding Plone within an existing website: msg#00037

web.zope.plone.setup

Subject: Re: Embedding Plone within an existing website




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

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

RewriteRule ^/myPlone(/|$)(.*)
http://www.mysite.com:8080/VirtualHostBase/http/www.mysite.com:80/Plone/VirtualHostRoot/_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-tf4668417s15482.html#a13336079
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise