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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |