Hi Mark,
I had a rather confusing time when I was trying to get this to work for
me a while back!
Just checking, have you added a Virtual Host Monster to your site root?
What I found handy when I wanted to check what exact urls were being
rewritten to was adding these lines to your rewrite rule
RewriteLog "/wherever/rewrite_log"
RewriteLogLevel 2
to check stuff out :)
also used some of plones error logs to see what it was getting by
turning on logging on NotFound errors and generating a few 404's
Goodluck,
Julian
Mark Dale wrote:
> Hi Darryl
>
> Thanks for your reply. I've had no luck yet.
>
> I created a subdomain -
http://plone.mydomain.com then I created a conf
> file for plone in available-sites and the symlink in sites-enabled.
>
> All tested okay.
>
> Next I enabled the modules - proxy and rewrite.
>
> Then I changed the conf file and put in a variation of your lines and
> restarted Apache.
>
> <VirtualHost 243.xxx.xxx.xxx>
> ServerName plone.mydomain.com
> RewriteEngine on
> RewriteRule ^/(.*)
>
http://localhost:8080/VirtualHostBase/http/%{HTTP_HOST}:80/cps/VirtualHostRoot/$1
> [P,L]
> </VirtualHost>
>
> On restart, all I could get was a 403 browser error message.
>
>
> Am I on the right track (as in 'Close, but no cigar')?
>
>
> regards
> Mark
>
> --------------------------------------
> Mark Dale
> Tel: 02 6100 3131
> Fax: 02 6103 9130
> Mob: 0403 831 748
> email:
[hidden email]
> --------------------------------------
>
>
>
>
>
> Darryl Dixon - Winterhouse Consulting wrote:
>
>> Hi Mark,
>>
>> You probably want some sort of service front-ending Plone, usually it's
>> Apache. Apache sends specially formatted requests to Plone via
>> mod_rewrite. You will want to look up Apache, mod_rewrite and the
>> VirtualHostBase URL directives for Zope.
>>
>> An example mod_rewrite rule for Apache (possibly not exactly correct for
>> your situation), would be something like:
>>
>> Redirect permanent /plone /plone/
>> RewriteRule /plone/(.*)
>>
http://localhost:8080/VirtualHostBase/http/www.myserver.com:80/Plone/VirtualHostRoot/_vh_plone/$1>> [L,P]
>>
>> Hope this helps.
>>
>> regards,
>> Darryl Dixon
>> Winterhouse Consulting Ltd
>>
http://www.winterhouseconsulting.com>>
>>
>>
>>> Hi All
>>>
>>> I've just installed Python, Zope and Plone with the unified installer on
>>> a remote server (Ubuntu).
>>>
>>> %: lynx localhost:8080 - displays the Zope Quickstart page okay
>>> %: lynx localhost:8080/Plone - displays the default Plone page okay
>>>
>>> Could some one give me a clue on how I get Plone to display at
>>> www.myserver.com/plone
>>>
>>> cheers
>>> Mark Dale
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> NZZUG mailing list
>>>
[hidden email]
>>>
http://lists.thevirtual.co.nz/cgi-bin/mailman/listinfo/nzzug>>>
>>>
>> _______________________________________________
>> NZZUG mailing list
>>
[hidden email]
>>
http://lists.thevirtual.co.nz/cgi-bin/mailman/listinfo/nzzug>>
>>
>>
>>
> _______________________________________________
> NZZUG mailing list
>
[hidden email]
>
http://lists.thevirtual.co.nz/cgi-bin/mailman/listinfo/nzzug>
>
_______________________________________________
NZZUG mailing list
[hidden email]
http://lists.thevirtual.co.nz/cgi-bin/mailman/listinfo/nzzug