[clug] apache2 phpmyadmin warning

Scott Ferguson prettyfly.productions at gmail.com
Fri Aug 13 01:43:38 MDT 2010


 On 13/08/10 17:11, Ben Coughlan wrote:
> You could try commenting out the 'Alias' (line 3 in /etc/phpmyadmin/apache.conf).  Then you're at least still using the rest of the config.
>
> Have a look at that line and try 'grep -Rn [search_string] /etc/apache2' for similar lines and remove the least appropriate.
>
> Just a few thoughts without being able to see those outputs myself.
>
> Ben
>
> On 13/08/2010, at 5:05 PM, Scott Ferguson wrote:
>
>> Starting apache in a debian stable virtualbox guest with phpmyadmin
>> (all stock settings) installed gives a warning:-
>> "apache2 [warn] The Alias directive in /etc/phpmyadmin/apache.conf at
>> line 3 will probably never match because it overlaps and earlier Alias"
>>
>> I have found two solutions that work:-
>> *remove the Alias directive "INCLUDE /etc/phpmyadmin/apache.conf" from
>> the apache2.conf
>> *unlink the symbolic link to phpmyadmin.conf under /etc/apache2/conf.d/
>>
>> My questions are:-
>> which is the best/preferred solution?
>> are there any others?
>>
>> Thanks in advance
>>
>>
>>
>
/etc/apache2/conf.d/phpmyadmin.conf:1:# phpMyAdmin default Apache
configuration
/etc/apache2/conf.d/phpmyadmin.conf:3:Alias /phpmyadmin
/usr/share/phpmyadmin
/etc/apache2/conf.d/phpmyadmin.conf:5:<Directory /usr/share/phpmyadmin>
/etc/apache2/conf.d/phpmyadmin.conf:14:         AuthName "phpMyAdmin Setup"
/etc/apache2/conf.d/phpmyadmin.conf:15:         AuthUserFile
/etc/phpmyadmin/htpasswd.setup
/etc/apache2/conf.d/phpmyadmin.conf:20:         AuthName "phpMyAdmin Setup"
/etc/apache2/conf.d/phpmyadmin.conf:21:         AuthUserFile
/etc/phpmyadmin/htpasswd.setup
/etc/apache2/apache2.conf:283:# Include phpmyadmin
/etc/apache2/apache2.conf:284:Include /etc/phpmyadmin/apache.conf

Cheers


More information about the linux mailing list