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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Symlink gives 500 error

Discussion in 'General Discussion' started by rappie, Dec 19, 2016.

  1. rappie

    rappie Member

    Joined:
    Oct 4, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Amsterdam
    I am a bit lost here.

    I've created a symlink to avoid having to have duplicate content for two very similar sites.
    Code:
    ln -s /home/user/public_html/addon1.com/assets/ /home/user/public_html/addon2.com/assets
    The symlink is owned by the user.

    However whenever I try to access the addon2.com/assets link it shows a 500 error saying: AH00027: No authentication done but request not allowed without authentication for /assets

    Would anyone know what is meant by "authentication" here? What kind of authentication is needed and why do I need authentication to access this directory?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify if any of the .htaccess files under the document roots for those addon domain names, or within the public_html directory, include an entry for "Require valid-user"?

    Thanks!
     
Loading...

Share This Page