"actually pointed to better solutions... thanks"
Can you share your solution please?
I am also trying to run Pylons with Lighttpd...

Thanks!

Pepijn

On Jun 29, 8:52 pm, Anil <[email protected]> wrote:
> Couple of you helped me out on IRC regarding this (actually pointed to
> better solutions... thanks) but I am curious why my deployment using
> lighttpd and scgi doesnt work.
>
> I have a dev environment where I do not have a web server, just using
> paster. The same code breaks when I use lighttpd and scgi. The CSS/images
> fail to load.
>
> In dev, I have URLs likehttp://url/css/base.css. In production, the same
> url is returning a 404. Instead, they are becomehttp://url/css/css/base.css.
> I am simply doing:
> ${h.stylesheet_link('/css/base.css')}
>
> My lighttpd configuration:
>
> $HTTP["host"] =~ "^(www\.)?domain\.net$" {
>   server.name = "domain.net"
>   server.document-root = "/home/admin/Pages/Domain"
>   $HTTP["scheme"] == "http" {
>     url.redirect = ("^/(login)" => "https://domain.net/$1";,
>                     "^/(register)" => "https://domain.net/$1";)
>   }
>   scgi.server = ("/" =>
>     ((
>       "host" => "127.0.0.1",
>       "port" => 6500,
>       "min-procs" => 1,
>       "max-procs" => 2,
>       "check-local" => "disable"
>     ))
>   )
>
> }
>
> What is causing the /public directory to not work?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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