I've been looking at Plone as a Content Management System on my test box (5.6). By default, it is set to use port 8080 (with Zope as its application server). From the documentation, it is common to use Apache in front of Zope, using ProxyPass and ProxyPassReverse directives to redirect 8080 to use Apache and its standard port.

I found a VirtualHosts configuration on the Plone web site which seems to be the recommended way of using ProxyPass within Plone, and set it up as a custom template fragment (however, on my test box, I have only the default domain). However, to integrate with SME, it obviously needs some tweaking, as the $virtualHost variable is not being resolved when the template is expanded. I haven't included the entire fragment here, but the ProxyPass directives are as follows:

ProxyPass / http://localhost:8080/VirtualHostBase/http/($virtualHost):80/($virtualHost)/VirtualHostRoot/
ProxyPassReverse / http://localhost:8080/VirtualHostBase/http/($virtualHost):80/($virtualHost)/VirtualHostRoot/


I admit I am floundering here - I can see looking at the template fragments that 80VirtualHosts has the logic that sets this up, and I suspect the fragment I created is only a part of the way to a solution, so I'd appreciate any guidance from the community.

Thanks,
--


Des Dougan



-- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org



Reply via email to