On Fri, 28 May 2010, John wrote:

> 
> I'm trying to remove index.php and backend.php from my urls, so that I
> can have :
> - www.example.com/index.php -> www.example.com
> - www.example.com/index.php/api/events.xml -> www.example.com/api/events.xml
> - www.example.com/backend.php/admin -> www.example.com/admin
> 
> I've uncommented "LoadModule rewrite_module modules/mod_rewrite.so" in
> httpconf and I've got an .htaccess file in the web folder :

You also need to switch on no_script_name in your app settings:
http://www.symfony-project.org/gentle-introduction/1_4/en/09-Links-and-the-Routing-System#chapter_09_url_rewriting



-- 


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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