Shouldn't you either use absolute URLs for your assets, or use an 
initial trailing slash?

Symfony's URL structure makes use of "pretty urls" for parameters, so 
it's not uncommon to see "site.com/users/list/page/2"

Trailing slash or not your CSS and Images won't load if you're not 
accessing them like "/css/main.css" with paths like the above.

I'd suggest making your CSS and other assets work with or without the 
trailing slash, as I think you'll always see that issue come up with 
Symfony.

Jay

Jonathan Franks wrote:
> sfGuard is working perfectly for me except for one problem. After log 
> in, it adds a trailing slash to the url...
>
> www.mysite.com/backend.php
>
> becomes
>
> www.mysite.com/backend.php/
>
> This stops the css from loading (and probably any other assets)
>
> Am I doing something wrong? // Regards Jonathan
>
> >
>
>   


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

Reply via email to