NYCPHP Meetup

NYPHP.org

[nycphp-talk] Apache 2.2, PHP 5.2 and .htaccess

Peter Sawczynec ps at blu-studio.com
Tue Oct 18 20:14:24 EDT 2011


I am running a legacy website where all the .html files are being served as
php by using some directives in an .htaccess file as follows: 

 

DirectoryIndex index.html

AddType application/x-httpd-php .htm .html

AddHandler x-httpd-php  .htm .html

 

This website has now been migrated to a newer Apache 2.2 and PHP 5.2 web
server environment and the above directives fail.

 

Does anyone know the directives that will work for me? 

 

Or do I still need to know more info about what type of Apache I've got? 

 

My legacy site is actually down till I get this resolved. 

 

Thanks in advance for any help.

 

Warmest regards, 

 

Peter Sawczynec 

Technology Dir.

blūstudio 

941.893.0396

 <mailto:ps at sun-code.com> ps at blu-studio.com 

 <http://www.blu-studio.com> www.blu-studio.com 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20111018/0ea2ec25/attachment.html>


More information about the talk mailing list