> From: talk-boun...@lists.nyphp.org [mailto:talk-
> boun...@lists.nyphp.org] On Behalf Of federico ulfo
> Sent: Wednesday, October 19, 2011 8:55 PM
> To: NYPHP Talk
> Subject: Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess
>
> Hey, can you share with us how you improved the perfo
Dir.
> blūstudio
> 941.893.0396
> p...@blu-studio.com
> www.blu-studio.com
>
>> -Original Message-
>> From: talk-boun...@lists.nyphp.org [mailto:talk-
>> boun...@lists.nyphp.org] On Behalf Of Rob Marscher
>> Sent: Wednesday, October 19, 2011 10:17 AM
>
t: Re: [nyphp-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] Canno
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
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
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
ilto:talk-
> boun...@lists.nyphp.org] On Behalf Of Rob Marscher
> Sent: Tuesday, October 18, 2011 11:57 PM
> To: NYPHP Talk
> Subject: Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess
>
>
> On Oct 18, 2011, at 11:26 PM, Peter Sawczynec wrote:
>
> > Okay. Using a diff
On Oct 18, 2011, at 11:57 PM, Rob Marscher wrote:
> RewriteEngine On
> RewriteRule (.*).html?$ $1.php [L]
Actually... you might need to persist the query string. Use this:
RewriteEngine On
RewriteRule (.*).html?$ $1.php [L,QSA]
___
New York PHP Users
On Oct 18, 2011, at 11:26 PM, Peter Sawczynec wrote:
> Okay. Using a different tactic, what mod rewrite would for this given
> subdirectory cause
> all requests to:
>
> anyfile.html or anyfile.htm to always map to anyfile.php
>
> ...not issuing 301 or 302 and without the browser or search engi
Of Peter Sawczynec
> Sent: Tuesday, October 18, 2011 10:27 PM
> To: 'NYPHP Talk'
> Subject: Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess
>
> Okay I will fess up in full here.
> This is all happening in a virtual hosting environment in which I run
> my
&g
un...@lists.nyphp.org [mailto:talk-
> boun...@lists.nyphp.org] On Behalf Of Daniel Convissor
> Sent: Tuesday, October 18, 2011 9:43 PM
> To: NYPHP Talk
> Subject: Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess
>
> Hi Peter:
>
> On Tue, Oct 18, 2011 at 09:09:16PM -0400, Peter Sawc
Hi Peter:
On Tue, Oct 18, 2011 at 09:09:16PM -0400, Peter Sawczynec wrote:
> The index.html page comes up, but I see in the source that several
> php snippets such as this are actually printing
> out
Ouch. Have you asked your hosting company what settings are needed
and/or looked at their hel
Hi:
On Tue, Oct 18, 2011 at 08:56:16PM -0400, Rob Marscher wrote:
> > On Oct 18, 2011, at 8:14 PM, Peter Sawczynec wrote:
> >
> > AddType application/x-httpd-php .htm .html
> > AddHandler x-httpd-php .htm .html
You probably don't need the AddHandler line. I don't in my Apache 2.2
config.
> Do
<http://www.blu-studio.com> www.blu-studio.com
From: talk-boun...@lists.nyphp.org [mailto:talk-boun...@lists.nyphp.org] On
Behalf Of Rob Marscher
Sent: Tuesday, October 18, 2011 8:56 PM
To: NYPHP Talk
Subject: Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess
On Oct 18, 2011, at 8:
> 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:
>
> DirectoryIndex index.html
> AddType application/x-httpd-php .htm .html
> AddHandler x-httpd-php
u-studio.com
From: talk-boun...@lists.nyphp.org [mailto:talk-boun...@lists.nyphp.org] On
Behalf Of Rob Marscher
Sent: Tuesday, October 18, 2011 8:25 PM
To: NYPHP Talk
Subject: Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess
On Oct 18, 2011, at 8:14 PM, Peter Sawczynec wrote:
I am running a le
From: talk-boun...@lists.nyphp.org [mailto:talk-boun...@lists.nyphp.org] On
Behalf Of Rob Marscher
Sent: Tuesday, October 18, 2011 8:25 PM
To: NYPHP Talk
Subject: Re: [nyphp-talk] Apache 2.2, PHP 5.2 and .htaccess
On Oct 18, 2011, at 8:14 PM, Peter Sawczynec wrote:
I am running a legacy website wh
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:
>
> DirectoryIndex index.html
> AddType application/x-httpd-php .htm .html
> AddHandler x-httpd-php .
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
19 matches
Mail list logo