Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Alias not working

Discussion in 'EasyApache' started by asmithjr, Sep 10, 2016.

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    I am moving servers and my new server has apache4 working once I completed the setup in WHM. I am ok with keeping apache4 if I can work this out.
    I put Alias /mlist1 /home/www/mlist1/ in the Pre VirtualHost Include as I have it on my old server. I see it in the /etc/apache2/conf.d/includes/pre_virtualhost_global.conf.

    When I visit a working site and add /mlist1 to the end of the URL as I do on the working server I get the message "Not supported". Currently my index.php has only echo "Hi Al" in it so I expect that to echo on the screen.

    I am not finding anything guiding me to the issue. This /mlist is important because it is the application to most of my users and it works and has been working for years in the older version.
    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    I read where I need to reconfigure apache4 and choose All PHP Options + OpCache to have suphp so I did.
    I then issued /usr/local/cpanel/bin/rebuild_phpconf --default=ea-php55 --ea-php55=suphp
    Now I get the website 404 page instead of the alias. Maybe a little closer.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, per the support ticket opened, it looks like this was the result of "mysql_connect" usage in your PHP application. Could you verify if you continue to experience any additional issues?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    No this issue as the suphp.conf file needed tweaking.
    The issue with the application was mysql but did not keep the page from showing up.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice