NYCPHP Meetup

NYPHP.org

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

Peter Sawczynec ps at blu-studio.com
Wed Oct 19 19:33:22 EDT 2011


Really, Rob, Daniel, Dan, Ajai, thank you all. 

AddHandler x-httpd-php5-cgi .php .htm .html
AddHandler x-httpd-php-cgi .php4 .htm .html

This is what works in this setup. And the .htaccess is working in a
subdirectory.

And for me and my set of sites, my website page load speed has vastly
improved.

It has gone from worst case scenario to best case.

Thanks again. 

The sites involved are the http://capehazeinsider.com
and the still in dev http://palmislandinsider.com 
and soon to come http://bocagrandeinsider.com  and
http://englewoodinsider.com


Warmest regards, 
 
Peter Sawczynec 
Technology Dir.
blūstudio 
941.893.0396
ps at blu-studio.com 
www.blu-studio.com 

> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-
> bounces at lists.nyphp.org] On Behalf Of Rob Marscher
> Sent: Wednesday, October 19, 2011 10:17 AM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] Apache 2.2, PHP 5.2 and .htaccess
> 
> 
> On Oct 19, 2011, at 12:08 AM, Peter Sawczynec wrote:
> > thank you. meanwhile looking at my apache error logs thru godaddy
> interface
> > I see only entries like:
> > [Tue Oct 18 19:43:54 2011] [warn] Cannot get media type from 'x-
> httpd-php5'
> > [Tue Oct 18 20:22:03 2011] [warn] Cannot get media type from 'php5-
> fastcgi'
> > [Tue Oct 18 20:37:20 2011] [warn] Cannot get media type from 'php5-
> fastcgi'
> > [Tue Oct 18 20:46:34 2011] [warn] Cannot get media type from 'fcgid-
> script'
> > [Tue Oct 18 20:46:34 2011] [warn] Cannot get media type from 'fcgid-
> script'
> > [Tue Oct 18 20:47:04 2011] [warn] Cannot get media type from 'x-
> httpd-php5'
> > [Tue Oct 18 20:47:04 2011] [warn] Cannot get media type from 'x-
> httpd-php5'
> > [Tue Oct 18 20:47:33 2011] [warn] Cannot get media type from 'x-
> httpd-php5'
> > [Tue Oct 18 20:47:33 2011] [warn] Cannot get media type from 'x-
> httpd-php5'
> > [Tue Oct 18 20:48:17 2011] [warn] Cannot get media type from 'x-
> httpd-php5'
> 
> So did you try
> 
> AddHandler x-httpd-php5-cgi .htm .html .php
> AddHandler x-httpd-php-cgi .htm .html .php
> 
> http://help.godaddy.com/article/1082
> 
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> http://www.nyphp.org/Show-Participation





More information about the talk mailing list