I am literally on the verge of trying to move our symfony project from
apache to lighttpd in conjunction with rolling out on our production
environment (2 load balanced web servers to start). I would love to get
some discourse going about definitive working conditions under lighttpd.
Pierre, I was in the symfony irc channel the other day and someone who
said they got symfony working on lighttpd gave me their mod_rewrite
rules. Sorry to whomever that was for the lack of credit here. I don't
remember your nick. Since you run on cygwin, I bet you know who you are!
//example rewrite rules for lighttpd
$HTTP["host"] == "local.example.de" {
server.document-root = "/cygdrive/e/www/example.de/web"
alias.url = ( "/sf/" => "/cygdrive/c/PHP/PEAR/data/symfony/web/sf/" )
url.rewrite-once = (
"^/(.*)\.(.*)" => "$0",
"^/([^.]+)$" => "/index.php/$1",
"^/$" => "/index.php")
}
One thing I notice is this lacks some of the rules in apache to deal
with static content. Perhaps someone could append those if they know
what works. What's the URL to the lighttpd page in the wiki with the
rules you reference ?
Noel
Pierre Minnieur wrote:
> Hello,
>
> anybody here who has experience with running symfony on lighttpd? In
> the Trac Wiki are 4 rewrite rules described, but they don't work. If I
> call the site without the controller filenames in the URL (e.g.
> `index.php` or `*_dev.php`) I recieve an error 404 from lighty. I'd be
> pleased if anybody could post his *WORKING* lighty rewrite rules here
> - and maybe add them to the Trac wiki site.
>
> Thankfully,
> Pierre
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---