httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjit Riat" <>
Subject RE: [users@httpd] Interpreting HTML pages with PHP
Date Fri, 02 May 2003 02:28:25 GMT
Well it's a who site with a huge number of pages.. They worked fine with
apache 1.3 
So do I have to revert back to Apache 1.3 ???
-----Original Message-----
From: Eric [] 
Sent: Thursday, May 01, 2003 11:35 AM
Subject: Re: [users@httpd] Interpreting HTML pages with PHP
why not save the html files with the php extension.
----- Original Message ----- 
From: Manjit Riat <>  
Sent: Thursday, May 01, 2003 12:27 PM
Subject: [users@httpd] Interpreting HTML pages with PHP
Ok I have apache 2.0 with PHP and redhat 8.0 installed 
It working fine 
But I have couple of pages that have php and have a ..html extension .. 
So I added the following line in httpd.conf 

AddType application/x-httpd-php .html 

The site works fine in IE.. but when i open it up in Netscape I get a
message dialog box saying 
"You have started to download a file of type 
application/x-httpd-php ...." 

and there are 4 buttons that say more info, pick app, save file and

When I press cancel the site shows up just fine.. 

So now the question. 

Why am i getting the message dialog box to pop up ?? 

THank You

View raw message