httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manjit Riat" <man...@riat.net>
Subject [users@httpd] Interpreting HTML pages with PHP
Date Thu, 01 May 2003 18:27:04 GMT
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
cancel. 

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
 

Mime
View raw message