On Fri, 2006-10-13 at 19:38 -0400, Eric Jahn wrote: > I tried dozens of sample techniques for appropriately configuring > httpd.conf to have apache2 rewrite my urls from http://somesite.com to > http://localhost:8080/1 where my plone site sits. The rewrite error > logs look okay. From a remote browser, I can successfully do a > http://somesite.com:8080/1 and get my plone site, since that just uses > the Zserver and bypasses Apache2 (using sarge Debian + latest stable > zope and plone). I can also browse http://localhost:8080/1 on the > server and get my plone site. But, when I do a remote or local browse > to http://somesite.com, I get a "Forbidden You don't have permission to > access / on this server." message in the browser. > > To troubleshoot, I tried the most basic rewrite I could fathom that > should work. I commented out my zope book recommended rewrite string > and just changed it to: "RewriteRule / http://localhost:8080/1 [P]" > and still got this in my error logs: [Fri Oct 13 19:31:31 2006] [error] > [client 207.210.106.190] client denied by server configuration: > proxy:http://localhost:8080/1 > > It seems like my problem has nothing to do with Zope or anything, but > apache isn't rewriting at all! But the rewrite logs look okay. I'm > stumped. Yes, I have the proxy and rewrite modules loaded. Thanks in > advance for any help or insight! -Eric Jahn
I use a ProxyPass directive: ProxyPass / http://localhost:9080/VirtualHostBase/http/douganconsulting.com:80/DouganConsulting/VirtualHostRoot/ ProxyPassReverse / http://localhost:9080/VirtualHostBase/http/douganconsulting.com:80/DouganConsulting/VirtualHostRoot/ Are you using the VHM (Virtual Host Monster)? Des -- Des Dougan, Principal Dougan Consulting Group Ph: 604-980-2848 Email: des at DouganConsulting dot com www.DouganConsulting.com Design - Implementation - Support _______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
