Jump to content

.htaccess problem. OK for IE but not for FireFox or Google Chrome


turnbui

Recommended Posts

.htaccess file:-

RewriteEngine  on

ErrorDocument 404 /index.php

RewriteBase    /fetshtdocs

RewriteRule    ^index\.html$  /cgi-bin/gifasm.exe  [T=application/x-httpd-cgi]

RewriteRule    ^index\.htm$  /cgi-bin/gifasm.exe  [T=application/x-httpd-cgi]

 

Hi all,

the above works for IExplorer but not for FireFox or Google Chrome! Can anyone help please? Even the most basic .html page shows the .html as text. The page is at http://fets.homeip.net should you like to try FireFox or Google Chrome.

Hi,

 

If you try it without htaccess redirection how does the page reflects on the screen? Does it displays as text or web page?

 

Have you tried to redirect the index.html to some other test page's instead of /cgi-bin/gifasm.exe

Content-Type: text/plain;charset=iso-8859-1

 

I'm getting a Content Type of plain text. You might need to have your cgi send an html Content-Type header.

 

Content-Type: text/html;charset=iso-8859-1

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.