Roundcube 500 Internal Server Error
Bonjour,
J'ai suivi le site http://www.howtoforge.com/perfect-se...er-ispconfig-3 pour mettre en place un serveur Messagerie Postfix,
J'ai pu accéder à l'interface ISPConfig et squirelmail, j'ai installé Roundcube à partir de ISpCONFIG "Système/dépot ..", tout va bien mais lorsque j'accède à mon interface Roundcube j'aurai cette erreur :
Citation:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Lorsque je redémarre apache j'aurai:
Citation:
root@Messagerie:~# /etc/init.d/apache2 restart
Restarting web server: apache2[Tue May 14 10:17:25 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
[Tue May 14 10:17:25 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
... waiting [Tue May 14 10:17:26 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
[Tue May 14 10:17:26 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
root@messagerie:/etc/apache2/conf.d# grep -R '8080' /etc/apache2/*
/etc/apache2/conf.d/roundcube: RewriteRule . https://%{HTTP_HOST}:8080%{REQ UEST_URI} [L]
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000081a application/x-ar c lzw
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000091a application/x-ar c squashed
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000021a application/x-ar c uncompressed
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000031a application/x-ar c packed
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000041a application/x-ar c squeezed
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000061a application/x-ar c crunched
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000081a applicat ion/x-arc
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000091a applicat ion/x-arc
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000021a applicat ion/x-arc
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000031a applicat ion/x-arc
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000041a applicat ion/x-arc
/etc/apache2/magic:0 lelong&0x8080ffff 0x0000061a applicat ion/x-arc
/etc/apache2/sites-available/ispconfig.vhost: Listen 8080
/etc/apache2/sites-available/ispconfig.vhost:NameVirtualHost *:8080
/etc/apache2/sites-available/ispconfig.vhost:<VirtualHost _default_:8080>
/etc/apache2/sites-enabled/000-ispconfig.vhost: Listen 8080
/etc/apache2/sites-enabled/000-ispconfig.vhost:NameVirtualHost *:8080
/etc/apache2/sites-enabled/000-ispconfig.vhost:<VirtualHost _default_:8080>
root@messagerie:/etc/apache2/conf.d#
root@messagerie:/etc/apache2/conf.d# grep -R 'webmail' /etc/apache2/*
/etc/apache2/conf.d/squirrelmail.conf:Alias /webmail /usr/share/squirrelmail
/etc/apache2/conf.d/squirrelmail.conf:# users will prefer a simple URL like http://webmail.example.com
/etc/apache2/conf.d/squirrelmail.conf:# ServerName webmail.example.com
root@messagerie:/etc/apache2/conf.d# grep -R 'wmail' /etc/apache2/*
/etc/apache2/conf.d/roundcube: Alias /wmail /var/www/apps/roundcube
/etc/apache2/conf.d/roundcube: <Location /wmail>
root@messagerie:/etc/apache2/conf.d# apache2ctl -S
[Wed May 15 11:41:49 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
[Wed May 15 11:41:49 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:8081 monsite.mondomaine.com (/etc/apache2/sites-enabled/000-apps.vhost:10)
*:8080 is a NameVirtualHost
default server monsite.mondomaine.com (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)
port 8080 namevhost monsite.mondomaine.com (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)
*:80 is a NameVirtualHost
default server monsite.mondomaine.com (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost monsite.mondomaine.com (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost monsite.mondomaine.com (/etc/apache2/sites-enabled/100-mondomaine.com.vhost:7)
Syntax OK |
La configuration de /etc/apache2/conf.d/roundcube est :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| # Those aliases do not work properly with several hosts on your apache server
# Uncomment them to use it or adapt them to your configuration
# Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
# Alias /roundcube /var/lib/roundcube
Alias /wmail /var/www/apps/roundcube
# Access to tinymce files
<Directory /var/www/apps/roundcube/>
Options +FollowSymLinks
# This is needed to parse /var/www/apps/roundcube/.htaccess. See its
# content before setting AllowOverride to None.
AllowOverride All
order allow,deny
allow from all
</Directory>
# Protecting basic directories:
<Directory /var/www/apps/roundcube/config>
Options -FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/apps/roundcube/temp>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all
</Directory>
<Directory /var/www/apps/roundcube/logs>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all
</Directory>
<IfModule mod_rewrite.c>
<IfModule mod_ssl.c>
<Location /wmail>
RewriteEngine on
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule . https://%{HTTP_HOST}:8080%{REQUEST_URI} [L]
</Location>
</IfModule>
</IfModule> |