Doh LOL ofcourse I actually did something like that, a little bit differently. One thing though, you have to remember to modify the .htaccess if you have other extensions like jpeg, jpe, swf, flv, mov, mp3, pdf, and so on. I guess you could add them all there.
On Fri, Dec 5, 2008 at 7:59 PM, Eno <[EMAIL PROTECTED]> wrote: > > On Thu, 4 Dec 2008, Sid Bachtiar wrote: > >> >> Care to collaborate what it does? :) >> >> I tried it and it seems to work nicely > > The normal htaccess file skips ANY file with a dot in the URL. I think > his version explicitly states which files to ignore using this expression: > > \.(css|js|png|gif|jpg)$ > > so all other URLs go to the front controller (another rule deals with > .html files, same as the normal htaccess file). > > > >> >> On Thu, Dec 4, 2008 at 11:15 PM, Nicolas Perriault <[EMAIL PROTECTED]> wrote: >> > >> > On Thu, Dec 4, 2008 at 10:57 AM, Fabrice B <[EMAIL PROTECTED]> wrote: >> > >> >> The solution lies in customising your rewrite rules in you .htaccess >> >> or lighttpd.conf to better reflect your own configuration. You may >> >> need to plunge a little into regular expressions for that. >> > >> > I'm using this .htaccess and Apache 2.2 for symfonians.net and it >> > works smoothly for urls with dots : http://pastie.org/330755 >> > >> > ++ >> > >> > -- >> > Nicolas Perriault >> > http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com >> > Phone: +33 660 92 08 67 >> > >> > > >> > >> >> >> >> > > > > > -- Blue Horn Ltd - System Development http://bluehorn.co.nz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
