turnbui Posted October 18, 2010 Share Posted October 18, 2010 .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. Quote Link to comment Share on other sites More sharing options...
divinequran Posted October 21, 2010 Share Posted October 21, 2010 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 Quote Link to comment Share on other sites More sharing options...
DavidAM Posted October 21, 2010 Share Posted October 21, 2010 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 Quote Link to comment Share on other sites More sharing options...
turnbui Posted October 21, 2010 Author Share Posted October 21, 2010 Thanks to you both it works now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.