[Setup] Apache 2.2 rewrite rules

pacoverde glenn at elaw.org
Wed Nov 7 23:59:12 UTC 2007



James Stroud wrote:
> 
> On Nov 7, 2007, at 2:33 PM, pacoverde wrote:
>> deesto wrote:
>>> pacoverde wrote:
>>>> Does anyone see anything blatantly wrong with this rewrite rule?
>>>>
>>>> RewriteEngine On
>>>> RewriteRule ^/(.*) \
>>>> http://localhost:11080/VirtualHostBase/http/www.example.org:80/ 
>>>> plone_site/site/VirtualHostRoot/$1
>>>> [L,P]
>>>>
>>>> I can access the ZMI directly via the "www.example.org:11080"  
>>>> URL, but
>>>> just get a 403 Forbidden error when accessing anything at  
>>>> www.example.org
>>>> or below. I have tried:
>>>>
>>>> RewriteRule ^/(.*) \
>>>> http://www.example.org:11080/VirtualHostBase/http/www.example.org: 
>>>> 80/plone_site/site/VirtualHostRoot/$1
>>>> [L,P]
>>>>
>>> Just a guess, but is there a reason for having both "plone_site" and
>>> "site" in the VH path?  Have you tried one or the other (is there a
>>> difference?)?  Try just the object name of your Plone site?
>>
>> Well, the Plone site's object name, "site" (really, "elaw"), is in  
>> a folder
>> named "plone_site" (really, "elaw_site".) Trying to access it by  
>> using just
>> "site" (i.e. just "elaw") fails in the same manner.
>>
>> Any other thoughts?
> 
> I had the same problem with the VHM. If you are using apache2 (which  
> I think you are) try starting from the beginning with my instructions  
> rather than trying to debug what you have:
> 
>     http://jeldi.com/jamess-miscellaneous-how-tos/plone-3-apache-2/ 
> virtual-hosting/
> 
> 
>   (this is the alpha version of jamesstroud.com, so don't judge)
> 
> --
> James Stroud
> UCLA-DOE Institute for Genomics and Proteomics
> Box 951570
> Los Angeles, CA 90095
> 
> http://www.jamesstroud.com
> 
> 
> 
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
> 
> 

Thanks, James, I'll have a look (without any judging!) and take Ric's
comments into account; I've worked with him before -- good guy ;)
--
Glenn
-- 
View this message in context: http://www.nabble.com/Apache-2.2-rewrite-rules-tf4767457s15482.html#a13638872
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.




More information about the Setup mailing list