mime type problem on .html file ???

This is a discussion on mime type problem on .html file ??? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, the virtualhost's directoryindex has the index.html defined with it. So, when I browse the ip address I ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-12-2005
murtix@gmail.com
 
Posts: n/a
Default mime type problem on .html file ???

Hi,


the virtualhost's directoryindex has the index.html defined with it.
So, when I browse the ip address I get the page without any problem.
But since the page supposed to run as SSI page, I
had to add these in the .htaccess file:
------------------
Options +ExecCGI +Includes
AddType text/x-server-parsed-html .html
AddOutputFilter INCLUDES .html
----------------------
After adding these, the same index.html file is not being recognized
by my browser (I tried from other computers, they dont recognize
either) and a dilog box appears and asks me to "open, save or cancel"
the file. The strange thing is if I browse the page
http://206.131.254.24/index.html I can
see the page without any problem, when I browse it
http://206.131.254.24
than I the browser asks me to save the file.


Has anyone run into something like this ? What could I be missing or
doing wrong ?


Thanks and best regards.


Murtix Van Basten

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:12 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0