httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Content Negotiation and PHP
Date Thu, 14 Oct 2004 03:37:17 GMT
On Wed, 13 Oct 2004, Chris Simon wrote:

> Options +MultiViews
> AddType application/x-httpd-php .php

Haven't you posted that and had it answered already?

That kind of AddType hack is a relic from the NCSA (pre-Apache) server.
It's a workaround for a design defect, long since fixed.  It is obsoleted
by the introduction of AddHandler and not dispatching on content-type.

I'm not sure why you're trying to do this with content negotiation.
Why not just use SetHandler in a <Files>?

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message