HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   - isn't there. (

Trunkles 11th December 2011 20:25 isn't there.
Hi folks.

I've made the mods suggested so that should give a squirrel mail login, but it doesn't.

What I get is the standard

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

If, however, you go to all is fine.

Here's my /etc/apache2/conf.d/squirrelmail.conf

Alias /squirrelmail /usr/share/squirrelmail
Alias /webmail /usr/share/squirrelmail

<Directory /usr/share/squirrelmail>
  Options FollowSymLinks
  <IfModule mod_php5.c>
    AddType application/x-httpd-php .php
    php_flag magic_quotes_gpc Off
    php_flag track_vars On
    php_admin_flag allow_url_fopen Off
    php_value include_path .
    php_admin_value upload_tmp_dir /var/lib/squirrelmail/tmp
    php_admin_value open_basedir /usr/share/squirrelmail:/etc/squirrelmail:/var/lib/squirrelmail:/etc/hostname:/etc/mailname
    php_flag register_globals off
  <IfModule mod_dir.c>
    DirectoryIndex index.php

  # access to configtest is limited by default to prevent information leak
  <Files configtest.php>
    order deny,allow
    deny from all
    allow from

# users will prefer a simple URL like
  DocumentRoot /usr/share/squirrelmail

# redirect to https when available (thanks
#  Note: There are multiple ways to do this, and which one is suitable for
#  your site's configuration depends. Consult the apache documentation if
#  you're unsure, as this example might not work everywhere.
#<IfModule mod_rewrite.c>
#  <IfModule mod_ssl.c>
#    <Location /squirrelmail>
#      RewriteEngine on
#      RewriteCond %{HTTPS} !^on$ [NC]
#      RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI}  [L]
#    </Location>
#  </IfModule>

I've obviously done something wrong somewhere but I've no idea what. I bet you have though! :D

Enlighten me, please.


falko 12th December 2011 19:21

Can you try

  DocumentRoot /usr/share/squirrelmail

in /etc/apache2/conf.d/squirrelmail.conf instead?

Trunkles 18th December 2011 08:37

I inserted this


  DocumentRoot /usr/share/squirrelmail

at the end of /etc/squirrelmail/apache.confbut to no avail. If I try I get the standard Apache "It works!... no content has been added yet" screen, if I try I get a server not found error. and the www. version work fine.

falko 19th December 2011 12:28


  DocumentRoot /usr/share/squirrelmail

instead. Is the IP address correct?

All times are GMT +2. The time now is 02:05.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.