News:

Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu

php_value register_globals Off

Started by possum, March 05, 2007, 12:02:17 PM

Previous topic - Next topic

possum


I use the last Joomla version 1.0.12

Get the following message in admin:
---------------------------------------------------------------------------------------------------
Following PHP Server Settings are not optimal for Security and it is recommended to change them:

PHP register_globals setting is `ON` instead of `OFF`
---------------------------------------------------------------------------------------------------

I put the code in my .htaccess file

<Files .htaccess>
order allow,deny
deny from all
</Files>

<Files configuration.php>
order allow,deny
deny from all
</Files>

<Limit GET>
order allow,deny
deny from xx.xxx.xx.xxx
allow from all
</Limit>

php_value register_globals Off


But this does not work, getting a 500 internal server

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, xxxx@xxxxx.xx and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.

Maybe someone can help me???

Thanks












Ben

FreePgs does not allow php_value to be added to .htaccess files.

Please, delete this line from your .htaccess file, and change the setting in your options panel instead.

Login, click "Set Scripting Options", and then change the "Register Globals" setting to "disabled" (Register Globals is the 3rd setting in the right column)

That should fix your problem.
--Ben
Ben@freepgs.com

possum

Thanks for the reply Ben , it works

Hans