Bug 68669
Summary: | squirrelmail does not work without register_globals in php.ini | ||
---|---|---|---|
Product: | [Retired] Red Hat Public Beta | Reporter: | Need Real Name <jskov> |
Component: | squirrelmail | Assignee: | Gary Benson <gbenson> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | limbo | CC: | chris.ricker, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-09-17 13:29:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 67217 |
Description
Need Real Name
2002-07-12 11:19:43 UTC
I haven't taken a look at Apache 2.0 yet, but don't you need to activate usage of .htaccess files in the Apache configuration in order to do that? Alternatively use a directory statement on the SquirrelMail directory and I believe can avoid using .htaccess files. register_globals will always be set to Off by default in all versions of PHP from this point on because this protects you from possibly bad coding that causes security problems. I suggest marking NOTABUG because this is not Red Hat's fault. This is a known Squirrel Mail problem. If you really want SquirrelMail to work without "register_globals = On" then I suggest reading about modifying the settings within httpd.conf. Reopening -- squirrelmail 1.2.8 does not need register_globals I'm not sure if this is required or not, but have you tested it with uploads enabled in php.ini? This bug was fixed as of squirrelmail-1.2.7-3 This bug was fixed as of squirrelmail-1.2.7-3 Then why is it still enabled in 1.2.7-4? [kaboom@hanuman work]$ more /etc/httpd/conf.d/squirrelmail.conf # # SquirrelMail is a webmail package written in PHP. # Alias /webmail /usr/share/squirrelmail # # SquirrelMail does not yet work with register_globals off (#68669) # <Directory /usr/share/squirrelmail> php_value register_globals 1 Order deny,allow Allow from all </Directory> [kaboom@hanuman work]$ And if I change that to php_value register_globals 0 it definitely does not work -- users can't even log in after that SquirrelMail rpms prior to 1.2.7-3 did not work without register_globals on in /etc/php.ini. SquirrelMail rpms 1.2.7-3 and newer have the workaround in /etc/httpd/conf.d/squirrelmail.conf such that it works regardless of the setting in /etc/php.ini, hence this bug is fixed. |