Mailbox Übersicht: Falscher Link?

#1
In der Übersicht aller Mailbox ist rechts ein Piktogramm eines Briefes zu sehen.
Wenn man hier drauf klick, wird man zu einem Download aufgefordert.

Ich würde erwarten, dass hier Squirelmail öffnet...

Die Datei hat dann folgenden Inhalt;


<?php
/**
* index.php
*
* Redirects to the login page.
*
* @copyright 1999-2012 The SquirrelMail Project Team
* @license GNU General Public License Versions | Open Source Initiative GNU Public License
* @version $Id: index.php 14249 2012-01-02 02:09:17Z pdontthink $
* @package squirrelmail
*/
// Are we configured yet?
if( ! file_exists ( 'config/config.php' ) ) {
echo '<html><body><p><strong>ERROR:</strong> Config file ' .
'&quot;<tt>config/config.php</tt>&quot; not found. You need to ' .
'configure SquirrelMail before you can use it.</p></body></html>';
exit;
}
// If we are, go ahead to the login page.
header('Location: src/login.php');
 
#3
Hm, das würde dann aber bedeuten, dass die Installation wie Aktivierung von mod_php in der Anleitung fehlt. Die für mich, nur um es anzumerken, mit zu den besten HowTos zählt.

Hier die Module:

Loaded Modules:
core_module (static)
access_compat_module (static)
so_module (static)
http_module (static)
mpm_prefork_module (static)
unixd_module (static)
systemd_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
include_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
ssl_module (shared)
userdir_module (shared)
reqtimeout_module (shared)
authn_core_module (shared)
authz_core_module (shared)
socache_shmcb_module (shared)
suexec_module (shared)
rewrite_module (shared)
suphp_module (shared)
fcgid_module (shared)
dav_module (shared)
dav_fs_module (shared)
dav_lock_module (shared)
logio_module (shared)
php5_module (shared)
python_module (shared)
fastcgi_module (shared)

Für mich sieht das okay aus ...
 
#5
Hier ist sie:

Code:
Alias /squirrelmail /srv/www/htdocs/squirrelmail
Alias /webmail /srv/www/htdocs/squirrelmail
<Directory "/srv/www/htdocs/squirrelmail">
php_admin_flag register_globals Off
php_admin_flag magic_quotes_gpc Off
php_admin_flag allow_url_include Off
php_admin_flag allow_url_fopen Off
php_admin_flag session.use_only_cookies On
php_admin_flag session.cookie_httponly On
php_admin_value open_basedir "/srv/www/htdocs/squirrelmail:/var/lib/squirrelmail:/usr/share/php5/PEAR:/tmp"
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/class">
        Order deny,allow
        Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/config">
        Order deny,allow
        Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/data">
        Order deny,allow
        Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/doc">
        Order Deny,Allow
        Deny from All
        Allow from 127.0.0.0/8
        Allow from ::1/128
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/functions">
        Order deny,allow
        Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/help">
        Order deny,allow
        Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/include">
        Order deny,allow
        Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/locale">
        Order deny,allow
        Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/po">
        Order deny,allow
        Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/themes">
        Order deny,allow
        Deny from all
</Directory>
<Directory "/srv/www/htdocs/squirrelmail/themes/css">
        Order deny,allow
        Allow from all
</Directory>
 

Till

Administrator
#6
Füge mal nach der zeile:

<Directory "/srv/www/htdocs/squirrelmail">

ein:

AddType application/x-httpd-php .php

und starte apache neu.
 

Werbung

Top