Symfony handles the css. Are you suggesting using absolute urls in the 
view.yml?

In my case, the backend index page is a symfony admin page. As such, as 
well as my css, it also uses the symfony admin css and can't find that 
either.

It seems to me that symfony should replace double slashes with single 
slashes in the css paths and any other assets that have this problem (ie 
javascript)

jon

Jay Klehr wrote:
> 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 symfony-users@googlegroups.com
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