This is a discussion on Disable php/cgi/.htaccess for user account within the Linux Web Servers forums, part of the Web Server and Related Forums category; How do I disable php scripting per virtual host account?...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 12/11/2005 8:05 AM, Shabam wrote:
> How do I disable php scripting per virtual host account? Use <Directory /virtual/host/documentroot> php_admin engine off </Directory> replacing /virtual/host/documentroot with the appropriate directory and path. -- _________________________________________ Bob Smith -- bsmith@sudleydeplacespam.com a.k.a. bsmith@dequalitasspam.com To reply to me directly, delete "despam". |
|
|||
|
> Use
> > <Directory /virtual/host/documentroot> > php_admin engine off > </Directory> > > replacing /virtual/host/documentroot with the appropriate directory and path. I got the error: Syntax error on line 14181 of /usr/local/apache/conf/httpd.conf: Invalid command 'php_admin', perhaps mis-spelled or defined by a module not included in the server configuration I also tried "php_admin_value" and that gave the same error. Any other ideas? |
|
|||
|
On 12/12/2005 2:21 PM, Shabam wrote:
>> Use >> >> <Directory /virtual/host/documentroot> >> php_admin engine off >> </Directory> >> >> replacing /virtual/host/documentroot with the appropriate directory and > path. > > I got the error: > > Syntax error on line 14181 of /usr/local/apache/conf/httpd.conf: > Invalid command 'php_admin', perhaps mis-spelled or defined by a module not > included in the server configuration > > I also tried "php_admin_value" and that gave the same error. Any other > ideas? Sorry, I typed too quickly. That should read php_admin_flag engine off -- _________________________________________ Bob Smith -- bsmith@sudleydeplacespam.com a.k.a. bsmith@dequalitasspam.com To reply to me directly, delete "despam". |