I've been playing with the the simple proxy method for lighttpd as
described at http://docs.turbogears.org/1.0/LightTPD#id2 and it
works...

Except that I have more than one static content folder: one is cgi-
bin, where I have several python scripts that I want to keep, until I
have time to migrate them to turbogears; and a /doc folder with pdf
files to be served.

How can I config lighttpd to serve two static content folders, if it
is possible.


here's the proxy section of my lightppd.conf

$HTTP["host"] == "intranet" {
   server.document-root = "z:/web/"

   $HTTP["url"] !~ "^/cgi-bin" {
      proxy.server = (
                      "" => (
                              (
                               "host" => "127.0.0.1",
                               "port" => 8080
                              )
                            )
                      )
   }
}
Thanks,
Paulino


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to