Thank you so much!

________________________________
Da: Haris Fauzi <haris.fa...@gmail.com>
A: symfony-users@googlegroups.com
Inviato: Martedì 31 Maggio 2011 14:23
Oggetto: Re: [symfony-users] Strange routing


Hi Michele,
After you enable mod_rewrite, edit .htaccess under web/, find the RewriteRule 
near the bottom and change it to /web/index.php instead of index.php (default). 
That /web/ represent the URL path.

Regards,
Haris


On 31 May 2011 00:54, Gábor Fási <maerl...@gmail.com> wrote:

Enable mod_rewrite.
>
>-- mrl
>
>
>On Sun, May 29, 2011 at 12:11, Michele Pierri
><michele442-symf...@yahoo.it> wrote:
>> Hi,
>> I have this routing file:
>> # You can find more information about this file on the symfony website:
>> # http://www.symfony-project.org/reference/1_4/en/10-Routing
>> # default rules
>> homepage:
>>   url:   /
>>   param: { module: campaign, action: index }
>> # generic rules
>> # please, remove them by adding more specific rules
>> default_index:
>>   url:   /:module
>>   param: { action: index }
>> default:
>>   url:   /:module/:action/*
>> So, If in my browser I type (1)
>> http://www.mydomain.com.localhost/web/campaign I have returned 404Error.
>> If I type (2) http://www.mydomain.com.localhost/web/index.php/campaign it
>> works.
>> How can I correct this problem, and make the (1) URL working?
>> Thank you so much.
>> PS: Sorry but I am a newbie of symfony!
>>
>> --
>> 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 symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
>--
>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 symfony-users@googlegroups.com
>To unsubscribe from this group, send email to
>symfony-users+unsubscr...@googlegroups.com
>For more options, visit this group at
>http://groups.google.com/group/symfony-users?hl=en
>

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to