Permission denied on addon-domain files?

noimad1

Well-Known Member
Mar 27, 2003
629
0
166
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?
 

@home

Well-Known Member
Nov 5, 2003
121
2
168
cPanel Access Level
Root Administrator
noimad1 said:
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?
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.
 

noimad1

Well-Known Member
Mar 27, 2003
629
0
166
@home said:
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.
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