Can't access Squirrelmail on Centos 8

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



Good evening,

I have not able able to run the http://ip-addr/src/configtest.php script, nor access Squirrelmail. Looking for suggestions on what I might
have missed.  When I try either http://ip-... or https://ip-..., I get the following reply

Forbidden You don't have permission to access /webmail/src/configtest.php on this server.

I got squirrelmail installed in /usr/share/squirrelmail and 'configured' to work (using ./conf.pl). This setup below is about the same
setup on my Centos 6 box. I'm thinking my issue is more Apache configuration related than Squirrelmail.

**Apache is running with no issues**

Below are some of my settings in /etc/httpd/conf/httpd.conf

Apache ServerRoot is /etc/httpd

Apache DocumentRoot is /www

Further parameters within httpd.conf include:
#
# Relax access to content within /var/www.
#
<Directory "/www">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>

# Further relax access to the default document root:
    <Directory "/www">
    Options Indexes FollowSymLinks
    AllowOverride None
    #
    # Controls who can get stuff from this server.
    #
    Require all granted
</Directory>

In /etc/httpd/conf.modules.d I created a file called 16-squirrelmail.conf That file contains the following information:

# SquirrelMail is a webmail package written in PHP.
#

Alias /webmail /usr/share/squirrelmail

<Directory "/usr/share/squirrelmail/plugins/squirrelspell/modules"> #<Directory "/usr/share/squirrelmail">
 AllowOverride None
 Require all denied
</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:
#6-12-2020 commented out next five lines to test sqmail in http mode only <Directory /usr/share/squirrelmail>
  RewriteEngine  on
  RewriteCond    %{HTTPS} !=on
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</Directory>


Any suggestions????

Thanks,

Jay




_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux