Thursday, 24 September 2009

Setting Register Globals per Domain on Apache

1) vi /etc/httpd/conf/httpd.conf
2)Use the below line under the virtual host of the respective domain
php_admin_flag register_globals on

For those who don't have access to their apache config files,

1)you can create a .htaccess file and place it in your home directory on the server.

php_admin_flag register_globals on

No comments:

Post a Comment