parsing .html files (tried everything but can't get it to work)

This is a discussion on parsing .html files (tried everything but can't get it to work) within the PHP Language forums, part of the PHP Programming Forums category; hi all, i'm running apache 2.0. here's my php.conf: LoadModule php4_module modules/libphp4.so AddType application/...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-21-2005
manishie@manishie.com
 
Posts: n/a
Default parsing .html files (tried everything but can't get it to work)

hi all,

i'm running apache 2.0. here's my php.conf:

LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .php4 .php3 .phtml .html
DirectoryIndex index.php index.php3

whenever i try to open an html page, the browser keeps trying to
download the file. i've ready every post i could find, but nothing
seems to help.

help!

mkm

Reply With Quote
  #2 (permalink)  
Old 01-21-2005
rw
 
Posts: n/a
Default Re: parsing .html files (tried everything but can't get it to work)

Saved from browser doc is interpreted by php? Look at http negotiation,
use eg. ethereal, what headers send apache?

manishie@manishie.com wrote:
> hi all,
>
> i'm running apache 2.0. here's my php.conf:
>
> LoadModule php4_module modules/libphp4.so
> AddType application/x-httpd-php .php .php4 .php3 .phtml .html
> DirectoryIndex index.php index.php3
>
> whenever i try to open an html page, the browser keeps trying to
> download the file. i've ready every post i could find, but nothing
> seems to help.
>
> help!
>
> mkm
>


--
Robert Was
Reply With Quote
  #3 (permalink)  
Old 01-22-2005
Kartic
 
Posts: n/a
Default Re: parsing .html files (tried everything but can't get it to work)

manishie@manishie.com said the following on 1/21/2005 12:09 AM:
> hi all,
>
> i'm running apache 2.0. here's my php.conf:
>
> LoadModule php4_module modules/libphp4.so
> AddType application/x-httpd-php .php .php4 .php3 .phtml .html
> DirectoryIndex index.php index.php3
>
> whenever i try to open an html page, the browser keeps trying to
> download the file. i've ready every post i could find, but nothing
> seems to help.
>
> help!
>



Did you restart Apache after changing your httpd.conf so that the
modifications can take effect?

--Kartic
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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




All times are GMT +1. The time now is 10:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0