[Setup] Embedding Plone within an existing website
Kevin Teague
kevin at bud.ca
Mon Oct 22 05:28:23 UTC 2007
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.
More information about the Setup
mailing list