Solved

Apache isn't serving HTML properly to NS clients

Posted on 1998-10-20
2
208 Views
Last Modified: 2010-03-18
I've got a vanilla Apache install running out of the box from a fresh RH 5.1 install.  I've put up a website and it serves everything up great for all my IE users.  Problem is, when a user views the pages from Netscape, it just displays the raw HTML on the page rather than the rendered page.  What did I do wrong?  What can I fix?

Thanks!
0
Comment
Question by:daveko
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
alexbik earned 50 total points
ID: 1587209
Hi,

This is probably not an apache problem, but a problem with your HTML.
Try a telnet to the machine at port 80 (telnet localhost 80), and type:

GET /

Followed by 2 returns. This should display your index.html. The first part of this reply should contain a 'content-type: text/html' line. If it does, then your apache config is OK.
If not, check why apache doesn't recognise your files as HTML files. Maybe this is due to incorrect filenames? If the content-type header is wrong, you may want to take a look at mime.types, it's located in the apache conf directory.

Alex.
0
 
LVL 1

Author Comment

by:daveko
ID: 1587210
Pretty close.  I found the problem.  It was not processing .htm files properly due to the mimes.conf file not listing them.  This is what happens when you move over from IIS. =)

thanks!  you would have pointed me into the right file so the points are yours!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Mailserver setup & redundancy 2 76
for ssh without password, are both ways correct 16 77
Veritas Asymmetric Cluster 2 362
Help with Ubuntu 14.04 LTS 10 139
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question