transcriptionist.com.au
3x WHM VPS + Growing
Hello all,
Is there a way to set register_globals on for just one virtual host ?
I read somewhere that I could do this in httpd.conf inside <VirtualHost></VirtualHost>
<directory>
php_flag register_globals 1
</directory>
But it didnt seem to work. Got this error on a config test:
Syntax error on line 1235 of /usr/local/apache/conf/httpd.conf:
Invalid command '<directory>', perhaps mis-spelled or defined by a module not included in the server configuration
Can anyone explain if/why register_globals On is a bad thing to do for a server.
Thanks
Is there a way to set register_globals on for just one virtual host ?
I read somewhere that I could do this in httpd.conf inside <VirtualHost></VirtualHost>
<directory>
php_flag register_globals 1
</directory>
But it didnt seem to work. Got this error on a config test:
Syntax error on line 1235 of /usr/local/apache/conf/httpd.conf:
Invalid command '<directory>', perhaps mis-spelled or defined by a module not included in the server configuration
Can anyone explain if/why register_globals On is a bad thing to do for a server.
Thanks