LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-26-2006, 12:08 PM   #1
chud67
Member
 
Registered: Jul 2004
Location: San Antonio, TX, USA
Posts: 34

Rep: Reputation: 15
Apache problems with html files


I'm trying to help troubleshoot a RH ES 4 server running Apache 2 that is having trouble serving up html pages. PHP pages load in a browser just fine, but when you type in a link to an html page, a dialog box pops up asking if you'd like to open the file with the browser or save it to disk, almost as if you're downloading the file instead of just trying to view it.
 
Old 01-26-2006, 08:12 PM   #2
chud67
Member
 
Registered: Jul 2004
Location: San Antonio, TX, USA
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by chud67
I'm trying to help troubleshoot a RH ES 4 server running Apache 2 that is having trouble serving up html pages. PHP pages load in a browser just fine, but when you type in a link to an html page, a dialog box pops up asking if you'd like to open the file with the browser or save it to disk, almost as if you're downloading the file instead of just trying to view it.
Fixed. There was a .htaccess file that was telling Apache to parse html wrong. Since AllowOverride was set to ALL it was overriding the httpd.conf file.
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge Of Html Files Into A Single Html (or Pdf) fiomba Linux - Software 10 05-11-2018 11:28 AM
where do i store my html files for my apache? philfighter Linux - Networking 8 04-22-2015 08:26 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - Newbie 7 09-28-2004 04:18 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - Software 3 09-25-2004 02:38 AM
apache server setup and how to place files in the var/www/html directory dramous Linux - General 2 09-25-2004 01:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration