[Setup] Apache 2.2 rewrite rules
Ricardo Newbery
ric at digitalmarbles.com
Wed Nov 7 23:21:22 UTC 2007
On Nov 7, 2007, at 1:18 PM, 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]
>
> also, but still no joy :(
>
> Configuration = Plone-2.5.3, Zope-2.9.6, Python-2.4.3,
> Apache-2.2.6, FreeBSD
> 6.2-RELEASE-p8
> --
> Thanks,
>
> Glenn
Hi Glenn,
You might have an apache access permission issue with the file space
designated as the apache documentroot for this host. To check this,
place a test html file in the apache document root and disable the
rewrite lines. If you get the same error then you've got a basic
access permission issue. Check apache's error.log for clues. Check
the file system permissions. Check to see if you have any access
restrictions defined within the apache config.
Ric
More information about the Setup
mailing list