Gentoo Archives: gentoo-server

From: Chris S <taskara@××××××××××××.net>
To: gentoo-server@l.g.o
Subject: [gentoo-server] Plone, Apache and mod_rewrite
Date: Mon, 20 Jun 2005 09:06:47
Message-Id: 42B686BE.4040907@internode.on.net
1 Howdy,
2
3 I have been struggling all afternoon with trying to get Plone (2.0.5-r1)
4 to work through Apache (2.0.54-r11) and am wondering if someone could
5 slap me over the head and point out what I'm doing wrong?
6
7 I have a plone site (test) which works perfectly and can be accessed
8 through http://serverip:8080/test
9 I have VirtualHostMonster under the root of my Zope instance
10 I have mod_rewrite enabled in http.conf:
11 LoadModule rewrite_module modules/mod_rewrite.so
12 Non-plone sites for just fine and if I browse to the awstats
13 (http://www.test.com/awstats/awstats.pl) that re-write rule works just
14 fine, so it appears to be a problem with the Plone rewrite rule.
15
16 This is my virtualhost entry with re-write rule:
17
18 <VirtualHost *:80>
19 ServerName www.test.com
20 ServerAlias test.com
21 RewriteEngine On
22 RewriteRule ^/awstats(.*) /awstats$1
23 [PT,L,E=AWSTATS_FORCE_CONFIG:test.com]
24 RewriteRule ^/(.*)
25 http://localhost:8080/VirtualHostBase/http/www.test.com:80/test/VirtualHostRoot/$1
26 [P]
27 ErrorLog /var/log/apache2/test.com-error
28 CustomLog /var/log/apache2/test.com-access combined
29 </VirtualHost>
30
31 And finally, this is the error in the logs:
32
33 [Mon Jun 20 18:54:22 2005] [error] [client 192.168.45.98] attempt to
34 make remote request from mod_rewrite without proxy enabled:
35 proxy:http://localhost:8080/VirtualHostBase/http/www.test.com:80/test/VirtualHostRoot/
36
37 Which makes it sound like it wants mod_proxy, however I have that in
38 http.conf too:
39 LoadModule proxy_module modules/mod_proxy.so
40
41 Any ideas!?
42
43 Many thanks,
44 Chris
45 --
46 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] Plone, Apache and mod_rewrite Chris S <taskara@××××××××××××.net>
Re: [gentoo-server] Plone, Apache and mod_rewrite "Michael Stewart (vericgar)" <vericgar@g.o>