I have a flash menu in my website which works good when using IE but not when using FireFox. Reason is Flash (SWF) file has resource path specified in the form \\xxx\\menudata.xml. IE replace the forward slashes before sending the request to the server but not FF. Unfortunately I do not have the source for the SWF so I cannot change it.
Other option is to change it on the fly, therefore I am trying to use "rewrite" in .htaccess to replace "\\" with "/" as follows,
RewriteEngine On
RewriteCond %{REQUEST_URI} ^(.*)\\(.*)$
RewriteRule .* %1/%2 [R=301,NC,L]
I have tested the above code in Ubuntu11.04/Apache2.2 and it works fine there but not here in X10Hosting.
CPANEL ERROR MESSAGE as below
File not found [/home/sasankav/public_html/includes\js\menudata.xml
I am unable to figure out anything and have no clue about what could be wrong here, Please help and thanks in advance.
Sasanka.
Other option is to change it on the fly, therefore I am trying to use "rewrite" in .htaccess to replace "\\" with "/" as follows,
RewriteEngine On
RewriteCond %{REQUEST_URI} ^(.*)\\(.*)$
RewriteRule .* %1/%2 [R=301,NC,L]
I have tested the above code in Ubuntu11.04/Apache2.2 and it works fine there but not here in X10Hosting.
CPANEL ERROR MESSAGE as below
File not found [/home/sasankav/public_html/includes\js\menudata.xml
I am unable to figure out anything and have no clue about what could be wrong here, Please help and thanks in advance.
Sasanka.