Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] [Q] Apache, PHP, and MIME types From: Tommy Williams (Tommy.Williams <email protected>)
Date: 07/31/98

On Fri, 31 Jul 1998 14:38 -0500 "Tommy Williams"
<Tommy.Williams <email protected>> wrote:

> Is there some way in Apache (1.2.6 or 1.3.1) to get it partially override
a
> ForceType? Some way of saying "force all files to a particular MIME type
> except those that end in .gif and .jpg"?

It appears that there's no way to do this, but I can do something like:

AddType application/x-httpd-php3 htm html

and not use the ForceType.

However, it still doesn't help for files with no extension at all, so I
still have to do an explicit ForceType for their location:

<Location /somewhere/noextension>
ForceType application/x-httpd-php3
</Location>

--
Tommy Williams
<mailto:Tommy.Williams <email protected>>
  <URL:http://www.mc.Vanderbilt.Edu/~tommy/>

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3