Personal tools
You are here: Home Documentation FAQs How to use Plone with lighttpd
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

How to use Plone with lighttpd

Up to Table of Contents

This FAQ applies to: Any version.

lighttpd is a web server that is becoming more common. Here is a pointer on getting it working from the forums at lighttpd.

Here's an example lighttpd proxy setup:

url.rewrite-once = ( "^/(.*)$" => 
"/VirtualHostBase/http/www.example.com:80/example/VirtualHostRoot/$1" )
proxy.server = ( "/VirtualHostBase/" => ( ( "host" => "127.0.0.1" ,
"port" => 8000 ) ) )

This makes use of Zope's Virtual Host Monster object that should be in your root folder. We specify a proxy prefix because some of the hosts exclude certain paths from the proxy. For example:

url.rewrite-once = (
"^/misc/.*" => "$0",
"^/(.*)$" =>
"/VirtualHostBase/http/www.example.com:80/example/VirtualHostRoot/$1" )

So, URLs like http://www.example.com/misc/otherpage.html will be served from the file system; everything else goes to Zope.

Taken from http://forum.lighttpd.net/topic/183

by Alan Runyan last modified December 31, 2006 - 07:44 All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by