Re: apache + PHP -> some file not through PHP
| From: | Cynic | Date: | Wed, 20 Dec 2000 15:49:27 +0000 |
| Subject: | Re: apache + PHP -> some file not through PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31216@lists.php.net to get a copy of this message | ||
httpd.conf:
<Directory /I/dont/want/PHP/work/here>
php_admin_flag Off
</Directory>
At 16:40 20.12. 2000, David Bouw wrote the following:
--------------------------------------------------------------
>Hi, I have compiled PHP with apache as an static module..
>
>I have changed the configuration file that all .htm, .html .php and .php3 files are passed
>throught the PHP parser.
>
>Till here nog problem, my question: Is it possible to block certain directories so that the
>files are not passed through the PHP parser.
>I mean by this the following: A file a placed in a directory by a user. This file has the
>extension .php3.. This file must then be served as a normal
>file and not be handled by the parser..?
>
>Is this possible?
>I know that this is more an Apache question, but I think that I will get the right suggestions
>here.
>
>Thanks..
>
>Bye Bye
>David
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz