For some reason I keep getting a 500 error when I add php_flag register_globals on to the .htaccess file for sites running on my server. When I set register_globals to on in the php.ini file all is working fine! Is there a reason that I can not set php_flag register_globals on in the .htaccess for the sites needing this? (I do not really want to set register_globals on in the PHP.ini as this if for all the sites on the server) The php_flag register_globals on in the .htaccess works fine on my old server runing PHP4 The new server is setup with the perfect_setup_fedora_core_4.
This is normal and correct. You can't set that option unless you allow it on your apache configuration. You have to change AllowOverride on the right place to "AllowOverride All". Anyway, you should not do that! Do it with the optional Apache directives in ISPConfig. Bernhard
Hi Bernhard, I've had a look for the 'optional Apache directives in ISPConfig', but can not find it. Is it within the ISPConfig (port 81) itself, or do I need to do a small 'code' hack?
re: 'optional Apache directives in ISPConfig' Nevermind.. I found it.. I created a 'Client' without the 'Apache directives' for myself.. Thats why I do not have it! Now I have to find a way of adding the 'Apache directives' without killing the account ...
If you enable apache directives for the reseller, you will be able to insert the directive when you are logged in as admin or reseller.
Please put Code: php_[B][COLOR="Red"]admin[/COLOR][/B]_flag register_globals on into the Apache Directives field instead of Code: php_flag register_globals on
Actually I needed to add: Code: php_admin_flag register_globals on php_admin_flag register_long_arrays on in it to make it work (OSCommercer) Thank you all for the help