Bug 905690

Summary: Access is forbidden by Apache httpd
Product: [Fedora] Fedora Reporter: John Florian <trailtotale>
Component: squirrelmailAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: squirrelmail-1.4.22-10.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-14 02:29:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Florian 2013-01-30 00:22:41 UTC
Description of problem:
Existing configurations of SquirrelMail no longer work under Fedora 18 due to changes in Apache httpd authentication modules.

Version-Release number of selected component (if applicable):
squirrelmail-1.4.22-9.fc18.noarch
httpd-2.4.3-12.fc18.x86_64


How reproducible:
always

Steps to Reproduce:
1. Install squirrelmail and establish a basic configuration.
2. Attempt to access https://yourserver/webmail
3. Notice the "403 Forbidden" error page.
  
Actual results:
Cannot reach the typical SM login page.

Expected results:
Simple installation and operation as before.

Additional info:
After reading http://httpd.apache.org/docs/2.4/upgrading.html and http://httpd.apache.org/docs/2.4/mod/mod_authz_host.html, it seemed necessary for make the following configuration change to get the prior behaviour back:

--- /etc/httpd/conf.d/squirrelmail.conf.orig    2012-07-22 01:28:37.000000000 -0400
+++ /etc/httpd/conf.d/squirrelmail.conf 2013-01-29 19:22:19.413428582 -0500
@@ -15,5 +15,6 @@
   RewriteEngine  on
   RewriteCond    %{HTTPS} !=on
   RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
+  Require all granted
 </Directory>

Comment 1 Michal Hlavinka 2013-01-31 13:17:21 UTC
It should work now (slightly different fix used)

Comment 2 Fedora Update System 2013-02-04 13:45:34 UTC
squirrelmail-1.4.22-10.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/squirrelmail-1.4.22-10.fc18

Comment 3 Fedora Update System 2013-02-05 03:00:09 UTC
Package squirrelmail-1.4.22-10.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing squirrelmail-1.4.22-10.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1914/squirrelmail-1.4.22-10.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-02-14 02:29:18 UTC
squirrelmail-1.4.22-10.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.