Hi !

I have a site powered by symfony (1.0.6) (wich was previously develop with
.NET technology)
I have a flash file (swf) in my site, and their is an http link in the flash
file .. but the problem is that I can't recompile the flash with the symfony
URL inside (I forgot the source of the flash) ... so in my flash file I have
the old (.NET) url :

http://localhost/fr/common/aires/carte/aires.aspx?carte=1

and I want this URL :

http://localhost/fr/common/aires/carte/1

I try to use apache mod_rewrite with the following rule in the .htaccess :

  RewriteCond %{QUERY_STRING} carte=1
  RewriteRule ^(.*)$ /fr/common/aires/carte/1 [R]

But symfony append the query string (QSA flag see below)  (?carte=1)
RewriteRule ^(.*)$ index.php [QSA,L]

So the URL match again my rule and their is an infinite loop !!!

So it doesn't work ...

Theire is mabe two solutions :

1) Rewrite the query string to erase "carte=1" so symfony append nothing and
the redirected URL does not match my rule again ...
2) Using the symfony URL routing, but I don't know how to do that ....


Any ideas ?

Thanks ;))

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