selective disabled PHP with Apache2 (was: suEXEC equiv for PHP in Apache2)

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Wed Jun 30 16:00:48 UTC 2004


Am Mi, den 30.06.2004 schrieb Luis Miguel Cruz um 17:28:

> Can you tell me the correct lines?
> In the past, with apache 1.3.x I had this config:
> 
> [...]
>          <IfModule mod_php3.c>
>          php3_engine off
>          </IfModule>
> 
>          <IfModule mod_php4.c>
>          php_flag engine off
>          </IfModule>
> [...]

Putting

    <Directory />
        php_flag engine Off
        php_flag display_errors Off
    </Directory>

into the vhost definition still works.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 
Serendipity 17:59:25 up 16:26, 8 users, 1.68, 1.45, 1.36 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040630/f99fd079/attachment-0001.sig>


More information about the fedora-list mailing list