Forum Moderators: phranque

Message Too Old, No Replies

newbie mod proxy with zope/plone

         

bbxrider

11:26 pm on Jun 14, 2007 (gmt 0)

10+ Year Member



this is long, hopefully not too long to scare away everybody
i have both apache 2.4.2 and zope/plone 2.5.2 running
trying to use apache for access to the plone site as well as other non-zope sites
the plone site works ok with www.mysite.com:8081/ploneSite
my other virtual sites are working ok in apache

this is the directives i put in for the proxy pass
<VirtualHost *:80>
ServerName www.mysite.com
ServerAlias mysite.com *.mysite.com
ServerAdmin name@mysite.com
ProxyPass / [localhost:8081...]
ProxyPassReverse / [localhost:8081...]
ErrorLog C:/apache2/logs/www.plone-error_log
</VirtualHost>

when i address mysite.com i get:
HTTP Error 403 - Forbidden Internet Explorer

access log:
xx.xx.xx.xx - - [14/Jun/2007:16:11:50 -0700] "GET / HTTP/1.1" 403 202
i'm loading mod_proxy.so but no other 'mod_proxy' modules
any ideas what i need to do to get this working?
thanks, bbxrider

jdMorgan

2:08 am on Jun 15, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't see anything missing in your Vhost container there, and I'm not a proxy configuration expert by any means, but perhaps I *can* ask a relevant question:

When this happens:

when i address mysite.com i get:
HTTP Error 403 - Forbidden Internet Explorer

what do you get in your server error log file?

Jim

bbxrider

6:39 pm on Jun 15, 2007 (gmt 0)

10+ Year Member



thanks for the reply
there was no entry at all in the plone-error_log
since the orig post there, i made a change and also invoked another mod_proxy module, mod_proxy_http.so, see list below for all that i'm currently invoking:
LoadModule proxy_module modules/mod_proxy.so
ProxyRequests Off
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so

so now i'm getting a 404 not found, the 404 message is actually on plone page returned from the zope server,
meaning for some reason its not finding the 'plone' site in that zope instance, so it may be a zope plone issue now, instead of apache.
the apache access log for the not found is
xx.xx.xx.ss - - [15/Jun/2007:08:04:55 -0700] "GET /pacificmail HTTP/1.1" 404 10415, (pacificmail is the name of the plone website)

if anybody knows about this please jump in, i'm going to try a post in a plone forum as well

jdMorgan

7:50 pm on Jun 15, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In the meantime, look at your Apache server error log, not the access log. It's sometimes quite helpful...

Jim

bbxrider

5:08 am on Jun 16, 2007 (gmt 0)

10+ Year Member



thanks again for another follow up
afraid i been there done that,
there is nothing in the error log, other than the startup messages, at this point sure wish there was, again i think the problem is sitting somewhere in the zope/plone, apache seems to be doing its job ok.
bbxrider