On Sat, Jul 18, 2009 at 7:01 PM, Govinda <govinda.webdnat...@gmail.com>wrote:
> Hi all,
> ..sitting here thinking this is so easy, and I must have been over this
> already in the past.. but it is eluding me just now..
> I can't figure out why files with the .html extension ARE being parsed by
> PHP when they are in the main doc root dir/, or in one subdirectory down
> from there.. BUT NOT when in *another* new subdirectory that I just
> created. Both subdirectories have the exact same perms (same owner & group
> too), both have the same php.ini file in them,... neither have an .htaccess
> file in them.. (if that would matter?).
> Anyway I just need to get PHP tp process all .html files in this and in any
> new subdirectory(ies) that I will make.
> Can someone point me to what I need to pay attention to?
It sounds like your .htaccess file may be telling .html files in a
/sub/directory/ to treat .html files as .php
Just add this to your root .htaccess
AddType x-mapp-php5 .html
> Thank you
- Adam Shannon ( http://ashannon.us )