View Full Version : The Alias directive will probably never match because it overlaps an earlier Alias
fluke
09-07-2009, 10:01 AM
After an upgrade from 1.1 to 1.3 the following warning occurs
The Alias directive in /etc/apache2/sites-enabled/pve.conf at line 44 will probably never match because it overlaps an earlier Alias
dietmar
09-07-2009, 10:21 AM
line 44 is:
Alias /javascript/ /usr/share/javascript/
maybe you have defined that somewhere else too?
fluke
09-07-2009, 10:43 AM
line 44 is:
Alias /javascript/ /usr/share/javascript/
maybe you have defined that somewhere else too?
I found the problem.
The file /etc/apache2/conf.d/javascript-common.conf, which is part of the javascript-common package, defined the same alias. Removing this file fixed the problem.
anthonysomerset
09-07-2009, 01:52 PM
ah someone beat me to the question, i just deleted the symlink (as that is what it is) so that it can be reinstated if needed later on after a further update, a PVE dev maybe able to shed some light on this
dietmar
09-07-2009, 01:58 PM
why do you need the javascript-common package?
fluke
09-07-2009, 02:11 PM
I personally did not install this package myself. I saw that this package is a dependency for wwwconfig-common, which is present on my system, but I did not explicitly install this one either.
dietmar
09-07-2009, 02:13 PM
Standard installation does not include 'wwwconfig-common'
anthonysomerset
09-07-2009, 02:37 PM
i was forced down the pve on top of lenny route so when it did its dependancy check and install it must have installed them automatically, good to know its not needed and deleting the file is no problem
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.