> url.rewrite-once = (
>     "^/(.*\..+(?!html))$" => "$0",
>     "^/(.*)\.(.*)"            => "$0",
>     "^/([^.]+)$"             => "/index.php/$1",
>     "^/$"                     => "/index.php"
> )

That are the rules found in the Wiki. And I use the same, and it seems
that they're working for normal setups (although, I think they're not
perfect, taking a look at the .htaccess rules - there are much more!).

But I run into problems if I use the suffix ".html" for my routes
(serves the 404 error, because lighty wants to open the file `/en/
test.html` in the file system). The other problems I have had wasn't
lighty problems, it was an already known bug (misspelling) in
sfFileCache and sfSQLiteCache so that nothing got processed on
production environment - I accidently thought that was lighty's
fault ;-)

I see, there are not many people which are pro on lighty and know how
to configure it's mod_rewrite well for symfony. Maybe the main dev's
should take a look at it ;-)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to