Folks,

I'm using the sample conf file from pylons site but what I can't
understand how to do is to get lighty to serve static images/css/js/
files etc..  I'm seeing requests being forwarded to scgi processes.
How do I tell lightty to look under the pylons public directory and
serve anything under there directly (like a web proxy) and not forward
to scgi.  The rule I currently have is the following:

$HTTP["url"] !~ "^/public/" {
  scgi.server = (
                 "/" =>
                       ( "127.0.0.1" =>
                                       (
                                        "host" => "127.0.0.1",
                                        "port" => 4000,
                                        "min-procs" => 1,
                                        "max-procs" => 10,
                                        "check-local" => "disable"
                                       )
                       )
               )
}

How do I make it so that I tell lighty to serve static filles directly
and not forward them to scgi.

Thanks,

Sam.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to