Originally Posted by neu2linux
Another strange thing is if I visit my normal domain using http:// on IE I get the default page saying bleh bleh, server installed ect.. With info on apache and mandriva, ect.. But...
If I visit it using FireFox, it shows the site in text, including the html tags. Not even parsing the site or something? I tried via Firefox 1.06 and 1.07 on both Windows XP and Linux.
My normal http:// domain still works however in IE
Hope someone can help me
On this point I can. I had exactly the same thing after setting up my apache server. If you view the http headers in firefox you'll find the content being server as plain text (mime type text/plain). Firefox is actually rendering the page correctly for this mime type, it's IE that has it wrong.
Now down to what caused the content to be served up as plain text. When configuring the server I'd commented out all modules that I thought I didn't need. Turns out I got one I shouldn't have - mod_mime and the directives that went with it. I put these back, restarted apache in and it was fine.
I can't get the the http config file from home, but I'll check on Monday and post an update with the directives you need to resolve this.
As promised here are the lines that need to be in the config file to resolve the problem with firefox displaying the page as source
LoadModule mime_module modules/mod_mime.so
# TypesConfig describes where the mime.types file (or equivalent) is
# to be found.
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are