My webmail is not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Lists,

I have running Centos 6.6 64 bit system,
I have updated the packages today through webmin.
After updated the packages my webmail is not working it say like below error in my system log.

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /usr/share/squirrelmail/favico

Below error show when i start the http service.

Starting httpd: [Fri Apr 01 19:55:47 2016] [warn] The Alias directive in /etc/httpd/conf/squirrelmail.conf at line 3 will probably never match because it overlaps an earlier Alias.

Browser shown below error.

Forbidden

You don't have permission to access /webmail/ on this server.


 /etc/httpd/conf/squirrelmail.conf file below.

<IfModule mod_alias.c>

Alias /webmail /usr/share/squirrelmail/
</IfModule>

<Directory /usr/share/squirrelmail>
  Options SymLinksIfOwnerMatch
  DirectoryIndex index.php
  Options Indexes MultiViews
   AllowOverride None
  Order allow,deny
  allow from all
</Directory>

/etc/httpd/conf.d/squirrelmail.conf

#
# 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>
  RewriteEngine  on
  RewriteCond    %{HTTPS} !=on
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</Directory>

httpd.conf

<VirtualHost xxx.xxx.xxx.xx>
   ServerName mail.xxxx.com
   ServerAlias xxxx.com/webmail
   ServerAdmin postmaster@xxxxxxxx
   DocumentRoot /usr/share/squirrelmail
   ErrorLog logs/mail.xxxx.com-error_log
   TransferLog logs/mail.xxxx.com-access_log
</VirtualHost>

Could anyone help me to fix my issue.

--
Thanks,
Manikandan.C
System Administrator

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux