Squirrelmail Not Working after Upgrade to Fedora 18

Cristian Sava csava at central.ucv.ro
Thu Feb 14 12:06:20 UTC 2013


On Tue, 2013-02-12 at 13:35 -0600, Steven Stern wrote:
> On 02/12/2013 12:31 PM, Paul Schwetz wrote:
> > After upgrading to fedora 18 from fedora 17 using fedup, my squirrelmail
> > is not working. Users are receiving a FORBIDDEN:You don't have
> > permission to access /webmail/src/login.php on this server. I have tried
> > reconfiguring httpd.conf every which from Sunday, but no joy.  Does
> > anyone else have a handle on this?
> >  
> > Paul S
> > 
> > 
> Are you getting any SELinux AVCs?  What's in the selinux logs?
> 
> -- 
> -- Steve
We have httpd-2.4.x in Fedora 18 so we have to tweak squirrelmail.conf
to not receive FORBIDDEN when trying to access
http://our-server/webmail.
Add this line: Require all granted
conforming http://httpd.apache.org/docs/2.4/mod/mod_alias.html#alias

#
# SquirrelMail is a webmail package written in PHP.
#

Alias /webmail /usr/share/squirrelmail

<Directory "/usr/share/squirrelmail/plugins/squirrelspell/modules">
  Deny from all
</Directory>

# this section makes squirrelmail use https connections only, for this
you
# need to have mod_ssl installed. If you want to use unsecure http 
# connections, just remove this section:
<Directory /usr/share/squirrelmail>
  Require all granted
  RewriteEngine  on
  RewriteCond    %{HTTPS} !=on
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</Directory>

Cristian Sava




More information about the users mailing list