PHP für einzelne VirtualHosts deaktivieren

Apache, Lighttpd, nginx, Cherokee
Post Reply
truenoir
Posts: 36
Joined: 2004-02-23 13:24
Location: Berlin
 

PHP für einzelne VirtualHosts deaktivieren

Post by truenoir »

Hallo,

ist es evtl. moeglich, fuer einzelne VirtualHosts PHP zu deaktivieren, so das in dem Sinne nur noch statische HTML-Seiten funktionieren?

PHP wird als Modul in Apache 1.3.19 geladen.

Mfg
Marcus
cosmicboy
Posts: 146
Joined: 2003-02-04 13:28
 

Re: PHP für einzelne VirtualHosts deaktivieren

Post by cosmicboy »

Wenn ich das richtig im Kopf gerade habe, dann einfach bei dem entsprechenden VHOST

Code: Select all

php_admin_flag engine off
eintragen!
truenoir
Posts: 36
Joined: 2004-02-23 13:24
Location: Berlin
 

Re: PHP für einzelne VirtualHosts deaktivieren

Post by truenoir »

Code: Select all

php_admin_flag engine off
Yup, das was. Vielen Dank! :-D
Post Reply