Install SquirrelMail can´t browse to server

Discussion in 'Installation/Configuration' started by trexen, Jan 8, 2015.

  1. trexen

    trexen Member

    Hi,
    i got a problem with the installation at stage:
    https://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3-p5

    when i try to connect to the server (on the same network) i get the following error:
    "The requested URL / was not found on this server."
    i also try ip:8080 and ip:8080/webmail and /squi....
    i have copy & past all config before and not missed anything, i i try just the IP i get the same error messages
    i also added the other aliases webmail

    i can restart apache2 whitout errors

    thanx
    Marcus
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post your squirrelmail.conf file.
     
  3. trexen

    trexen Member

    sorry for the delay.

    root@s11:/etc# vi /etc/apache2/conf.d/squirrelmail.conf
    Alias /squirrelmail /usr/share/squirrelmail
    Alias /webmail /usr/share/squirrelmail

    <Directory /usr/share/squirrelmail>
    Options FollowSymLinks


    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


    <IfModule mod_php5.c>
    php_flag register_globals off
    </IfModule>
    <IfModule mod_dir.c>
    DirectoryIndex index.php
    </IfModule>

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

    # users will prefer a simple URL like http://webmail.example.com
    #<VirtualHost 1.2.3.4>
    # DocumentRoot /usr/share/squirrelmail
    # ServerName webmail.example.com
    #</VirtualHost>

    # redirect to https when available (thanks omen@descolada.dartmouth.edu)
    #
    # 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>
    #</IfModule>

    regards
    Marcus
     

Share This Page