View Single Post
Old 14th February 2013, 11:51
007007 007007 is offline
Senior Member
Join Date: Jul 2010
Posts: 139
Thanks: 5
Thanked 0 Times in 0 Posts

I did this part, when I reload apache I got :

root@ks207246:/etc/apache2/conf.d# /etc/init.d/apache2 reload
Reloading web server config: apache2[Thu Feb 14 10:44:44 2013] [warn] The Alias directive in /etc/apache2/conf.d/roundcube.conf at line 6 will probably never ma tch because it overlaps an earlier Alias.
[Thu Feb 14 10:44:44 2013] [warn] _default_ VirtualHost overlap on port 443, the first has precedence

Here is the content of roundcube.conf in apache2/conf.d

# 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 /webmail /var/lib/roundcube/

# Access to tinymce files
<Directory "/usr/share/tinymce/www/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
allow from all

<Directory /var/lib/roundcube/>
Options +FollowSymLinks
# This is needed to parse /var/lib/roundcube/.htaccess. See its
# content before setting AllowOverride to None.
AllowOverride All
order allow,deny
allow from all

# Protecting basic directories:
<Directory /var/lib/roundcube/config>
Options -FollowSymLinks
AllowOverride None

<Directory /var/lib/roundcube/temp>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all

<Directory /var/lib/roundcube/logs>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all

<Directory /usr/share/roundcube>
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/roundcube/tmp
php_admin_value open_basedir /usr/share/roundcube:/etc/roundcube:/var/lib/roundcube:/etc/hostname:/etc/mailname:/var/spool/roundcube
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
Reply With Quote