Re: Suppress PHP unless paid for
| From: | Egan | Date: | Mon, 08 Jan 2001 00:35:03 +0000 |
| Subject: | Re: Suppress PHP unless paid for | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33147@lists.php.net to get a copy of this message | ||
On Sun, 7 Jan 2001 16:31:01 -0500, Brian Clark
<brianj@fusionwerks.com> wrote:
>> I need to suppress PHP on virtual hosts who don't subscribe to it.
> $ egrep -i php /path/to/apache/conf/directory/*
>
> See what the output of that says. They might not be stored in
> httpd.conf
No hits.
But I finally did find what I was looking for. httpd.conf has:
<IfModule mod_mime.c>
TypesConfig /etc/httpd/mime.types
</IfModule>
The mime.types file in the Apache conf directory was really a symlink
up one level to the parent directory, etc, so that's why egrep got no
hits. SuSE users beware! :-)
Now that I look in /etc/mime.types I see extensions for .phtml .pht
and .php.
Since they are configured globally via the TypesConfig directive, how
do I turn it off selectively? I would like to leave SuSE's mime.types
file undisturbed if possible.
Egan