Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess

2011-10-19 Thread federico ulfo
Hey, can you share with us how you improved the performance by calling php instead of HTML? Thanks Sent from my iPhone On Oct 19, 2011, at 7:33 PM, Peter Sawczynec wrote: > Really, Rob, Daniel, Dan, Ajai, thank you all. > > AddHandler x-httpd-php5-cgi .php .htm .html > AddHandler x-httpd-php-c

Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess

2011-10-19 Thread Peter Sawczynec
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

Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess

2011-10-19 Thread Rob Marscher
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

Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess

2011-10-19 Thread Dan Cech
On 10/18/2011 8:45 PM, Peter Sawczynec wrote: so further this new environement has apache as fast cgi. If that's the case then you need to use: AddHandler php5-fastcgi .htm .html Dan ___ New York PHP Users Group Community Talk Mailing List http://li

Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess

2011-10-19 Thread Ajai Khattri
I would check if AllowOverides is switched on for that vhost. Sent from my iPad On Oct 18, 2011, at 8:14 PM, "Peter Sawczynec" wrote: > 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: > > > > Direc