Forum Moderators: phranque
Im currently developing a new site based on a CMS that was used for videos. I have now edited the files so it shows games instead of videos - but its only being showed in FF.
I thought it might have something to do with my .htaccess, which looks like this:
AddType application/x-httpd-php .html .php .htm
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([&,0-9,a-z,A-Z,(,),-]+)\.htm$ /videos.html?curl=$1
RewriteRule ^category~([&,0-9,a-z,A-Z,(,),-]+)\.htm$ /index.html?cat=$1
RewriteRule ^category/([&,0-9,a-z,A-Z,(,),-]+)\.htm$ /index.html?cat=$1
RewriteRule ^category/index.html$ /index.html
RewriteRule ^category/index.htm$ /index.html
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^.*example.com.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://1.2.3.4.*$ [NC]
RewriteRule .*\.jpg$ http://www.example.com [R,L]
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^.*example.com.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://1.2.3.4.*$ [NC]
RewriteRule .*\.avi$ http://www.example.com [R,L]
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^.*example.com.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://1.2.3.4.*$ [NC]
RewriteRule .*\.mpg$ http://www.example.com [R,L]
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^.*example.com.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://1.2.3.4.*$ [NC]
RewriteRule .*\.swf$ http://www.example.com [R,L]
RewriteCond %{HTTP_REFERER}!^$
RewriteCond %{HTTP_REFERER}!^.*example.com.*$ [NC]
RewriteCond %{HTTP_REFERER}!^http://1.2.3.4.*$ [NC]
RewriteRule .*\.wmv$ http://www.example.com [R,L]
You can see an ex. of a game: <snip>
To summarize: the problem is that the game isnt showing in IE.
Any input/advice would be much appreciated.
Best Regards,
Jonas
[edited by: encyclo at 4:48 pm (utc) on Dec. 20, 2005]
[edit reason] No URLs please, see TOS [/edit]
I don't know if this will help you but I have had a similar problem between IE and Firefox. I'll explain the problem I had/have and maybe it will help your understanding out a little better.
I used...
<param name="wmode" value="transparent">
...to make the background transparent (in order to use the BG color as my site uses CSS themes). However this doesn't work so ducky in IE. Try removing wmode parameter and see if the flash file will work in IE. If not then it will most likely not be the same issue I encoutered.
John
Just an off-topic note, but you can reduce the first set of five rules to:
RewriteRule ^([&0-9a-z()-]+)\.htm$ /videos.html?curl=$1 [NC,L]
RewriteRule ^category[~/]([&0-9a-z()-]+)\.htm$ /index.html?cat=$1 [NC,L]
RewriteRule ^category/index.html?$ /index.html [L]
Jim