Results 1 to 8 of 8

Thread: warning message

  1. #1
    Join Date
    Aug 2013
    Beans
    46

    warning message

    when restarting apache 2 i get the message
    [warn] The Alias directive in /etc/apache2/apache2.conf at line 240 will probably never match because it overlaps an earlier Alias.
    line 240 is

    Alias /phpmyadmin /usr/share/phpmyadmin
    any help is appreciated

  2. #2

    Re: warning message

    Code:
    grep Alias /etc/apache2/apache2.conf
    output please?
    Windows assumes the user is an idiot.
    Linux demands proof.

  3. #3
    Join Date
    Aug 2013
    Beans
    46

    Re: warning message

    Quote Originally Posted by Habitual View Post
    Code:
    grep Alias /etc/apache2/apache2.conf
    output please?

    Alias /phpmyadmin /usr/share/phpmyadmin

    alias in red
    Last edited by joe672; August 22nd, 2013 at 09:47 PM.

  4. #4

    Re: warning message

    bizarre.
    Someone else who knows Ubuntu's http file structure better than I will be along to offer some assistance.

    Don't do anything drastic.
    Windows assumes the user is an idiot.
    Linux demands proof.

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: warning message

    phpmyadmin should have added a conf file to Apache. Did you add that Alias yourself?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Aug 2013
    Beans
    46

    Re: warning message

    Quote Originally Posted by CharlesA View Post
    phpmyadmin should have added a conf file to Apache. Did you add that Alias yourself?
    maybe mate, i really cant remember.. i jumped into the deep end when doing all this, everything is working ok, i only seen this message while trying to setup another website. i wouldnt have known about it if i didnt need to restart apache2

  7. #7
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: warning message

    Seeing as it is a [warn], I don't think it will hurt anything to leave it alone, especially if everything is working now.

    You could try commenting out the alias in apache2.conf and restarting apache and seeing it the warn goes away and if it does, see if you can access phpmyadmin ok.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #8
    Join Date
    Aug 2013
    Beans
    46

    Re: warning message

    ok thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •