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.

Permission denied on addon-domain files?

Discussion in 'General Discussion' started by noimad1, Oct 12, 2006.

  1. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    I have a strange one here.

    I have a user who added an addon domain to his site. However, anytimes you go to that addon domain the images won't show on his page. If you try to view the image directly it gives a "forbidden - you don't have access to this file" error.

    However, this only appears to be the images. The html file opens up fine?

    Here is what I have checked:

    1. The httpd conf file has the user group set
    2. Checked the permissios of all directories/subdirectores from public_html to his addon folder. I set them all to 755
    3. I checked the owner and groups of all files and they all seem ok
    4. I removed and re-created the addon domain.

    Nothing seems to be working. I am using phpsuexec.

    The last thing is if I go to http://hisdomain.com/addonfolder it works. But accessing it through http://addondomain.com does not work.

    I'm not sure what else to check here? Any ideas?
     
  2. @home

    @home Well-Known Member

    Joined:
    Nov 5, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Look at the main account and see if they use hotlink-protection.
    If so look if the addon domein is on the list from domains who can access the pics.
    If the addon is not on the list just add it en it will work.
     
  3. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    Thank you so much. That was it. I was banging my head on that for hours. I would have never thought of that.

    Thanks,
    Damion
     
Loading...

Share This Page