Re: mod_negotiation and PHP

2003-02-02 Thread Stephen van Egmond
Glenn ([EMAIL PROTECTED]) wrote: > # (unset mime-types will use the DefaultType, which defaults > # to text/plain on a standard Apache installation) > RemoveType .php > > # or you can specify a mime-type as > #AddType text/html .php > > # Tell Apache that mod_php is the handler for .php > AddHan

Re: mod_negotiation and PHP

2003-02-01 Thread Glenn
On Sat, Feb 01, 2003 at 09:49:01AM -0500, Stephen van Egmond wrote: > Ack. I didn't make it clear that I was working 1.3.26. # (unset mime-types will use the DefaultType, which defaults # to text/plain on a standard Apache installation) RemoveType .php # or you can specify a mime-type as #AddT

Re: mod_negotiation and PHP

2003-02-01 Thread Stephen van Egmond
Ack. I didn't make it clear that I was working 1.3.26. William A. Rowe, Jr. ([EMAIL PROTECTED]) wrote: > You might try using the AddOutputFilter instead of the antique methods I tried to find AddOutputFilter, and couldn't, because it's only available in Apache 2. There's a number of dire warni

Re: mod_negotiation and PHP

2003-01-31 Thread William A. Rowe, Jr.
This is because, conceptually, foo.php doesn't have any information to distinguish that the results of running foo.php are html. You might try using the AddOutputFilter instead of the antique methods of associating application/x-httpd-php - because that 'content-type' is meaningless to the outside

mod_negotiation and PHP

2003-01-31 Thread Stephen van Egmond
I've been looking through mod_negotiation.c to resolve a problem I have with PHP and Google. The issue is that Google sends Accept: text/html,text/plain And Apache, configured with PHP as a module, is unable to negotiate a satisfactory mime type since PHP is registered under application/