Alias error

urgido

Verified User
Joined
Oct 28, 2008
Messages
429
Location
MX
[Fri Mar 06 13:10:03 2009] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 178 will probably never match because it overlaps an earlier Alias.


LINE 178:
# Alias for RoundCube webmail
Alias /roundcube /var/www/html/roundcube/


HOW I CAN SOLVE THIS?
 
If it says that there is another one, it probably does. It may not be in httpd.conf but in a included file.
Try this:
Code:
grep -nR Alias.*roundcube /etc/httpd/conf
 
Code:
box:~# grep -nR Alias.*roundcube /etc/httpd/conf
/etc/httpd/conf/httpd.conf:178:Alias /roundcube /var/www/html/roundcube/
/etc/httpd/conf/httpd.conf.bak:177:Alias /roundcube /var/www/html/roundcube/
/etc/httpd/conf/extra/httpd-alias.conf:5:Alias /roundcube "/var/www/html/roundcube/"

THIS IS MY ACTUAL CONFIGURATION FILE.
Code:
box:~# grep -nR Alias.*roundcube /etc/httpd/conf/httpd.conf
178:Alias /roundcube /var/www/html/roundcube/
box:~#

REGARDS
 
Remove line 178 from /etc/httpd/conf/httpd.conf and restart apache.
 
Back
Top