need to get .html files parsed by PHP. -- WAS: why does PHP parse "*.html" files in one subdir/ but not in another?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i never used x-mapp-php5, but most of a forums say it is specific to
1and1 hosting service. php recommends application/x-httpd-php

http://us2.php.net/manual/en/install.unix.apache2.php

try adding AddType application/x-httpd-php .html in your root htaccess

hmmm.   Darn!   I just did try what you suggested above.  Still no luck.

if that dosent help you'll have to add that to your htpd.conf file

I am guessing that this means that I am outta luck since I am on a shared hosting environment and assume I do not have access to httpd.conf.

Agreed?

It sounds like your .htaccess file may be telling .html files in a / sub/directory/ to treat .html files as .php

I'm sorry I misled everyone. I just looked better at things and .html files are NOT getting their PHP parsed... *not anywhere*. So I assume then that it IS an httpd.conf issue. (?) ...and only the host admin can turn this on for me? (Because if it is something I have control over he is going to give me a hard time ;-)

-G

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux