[Setup] Help with VirtualHostMonster
Sebastian.Lux
sebastian.lux at sartorius.com
Tue Jan 6 06:32:21 UTC 2009
Ricardo Newbery-2 wrote:
>
>
> On Jan 5, 2009, at 5:35 AM, Sebastian.Lux wrote:
>
>>
>> Hello,
>>
>> Iam running Plone on a Windows 2003 Server (Just Plone, no Apache or
>> anything else). Lets call it "Server2"
>>
>> Now I have got another Server (Lets call it Server1) with Apache and
>> some
>> other services already running.
>>
>> I want Plone to be reachable at the following url: http://Server1/
>> myPortal
>>
>> So I set up a rewrite rule in the httpd.conf of Server1 Apache like
>> this:
>> RewriteRule ^/myPortal(.*) http://Server2:8000/$1 [P,R]
>
>
> This won't work. You need to put in the path elements that
> VirtualHostMonster is looking for.
>
> The first link you sent tells you how to do this.
> http://plone.org/support/forums/setup#nabble-td351534
>
> But if you want to read more...
> http://plone.org/documentation/tutorial/plone-apache/vhm/
> http://plone.org/documentation/how-to/plone-with-apache
> http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx
> http://wiki.zope.org/zope2/ZopeAndApache
>
> Ric
>
>
>
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
>
>
This was the very first I tried. The following RewriteRules gave me the
error
"We're sorry, but that page doesn't exist… "
RewriteRule ^/myPortal(/|$)(.*)
http://Server2:8000/VirtualHostBase/http/Server1/Plone/VirtualHostRoot/$2
[L,P] (I tried this since I use the default root instance of Plone)
RewriteRule ^/myPortal(/|$)(.*)
http://gonsrc02.sartorius.com:8000/VirtualHostBase/https/gensvn.sartorius.com:443/VirtualHostRoot/$2
[L,P]
RewriteRule ^/myPortal(/|$)(.*)
http://gonsrc02.sartorius.com:8000/Plone/VirtualHostBase/https/gensvn.sartorius.com:443/VirtualHostRoot/_vh_myPortal/$2
[L,P] (I tried this since it was a solution working in this forums)
I think the main problem is that I want to Rewrite to the default Plone
instance which is the root of the Zope db and reachable at Server2:8000 and
not Server2/myPortal
--
View this message in context: http://n2.nabble.com/Help-with-VirtualHostMonster-tp2112894p2116453.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
More information about the Setup
mailing list