[horde] Horde 4.0 + Register_globals ON

Reindl Harald h.reindl at thelounge.net
Thu Jul 7 09:28:47 UTC 2011



Am 07.07.2011 11:21, schrieb Vilius Šumskas:
> Hello,
> 
>> Hi,
>>
>> I have a Ubuntu server : Linux 2.6.24-19-server with PHP 5.2.4.
>>
>> Successfully, Horde 4.0 was installed.
>>
>> And I can access to the admin panel control, ONLY With  "Register_globals =
>> Off"  on my php.ini.
>>
>> But I must keep the value to "ON" to allow intranet work properly. (Many
>> business applications, yes  I know .that  sucks a lot . but I 've no
>> choice.. ).
>> I already try to create a ". Htaccess" in the root directory of Horde4, with
>> the following parameters:
>> php_value register_globals 0 OR php_flag register_globals off.
>>
>> I should not, but I tried also to modify "core.php" and comment out the test
>> value REGISTER_GLOBALS. But nothing works.
> 
> Try "php_admin_flag register_globals off"

php_admin_flags and core configuration has not to be placed in .htaccess
php_flags MAY work but why use .htaccess for such things?

<VirtualHost *>
 DocumentRoot /your/doc/root/path
 ServerName your.host.name
 <Directory "/your/doc/root/path">
  php_admin_flag register_globals off
  php_admin_value open_basedir "/your/doc/root/path:/usr/share/pear:/usr/share/php:/tmp"
 </Directory>
</VirtualHost>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/horde/attachments/20110707/37aec15c/attachment-0001.bin>


More information about the horde mailing list