Web Hosting Talk







View Full Version : Access Not Allowed from this Domain


Darth
11-24-2002, 09:23 AM
After upgrading cpanel to the latest version I get the following error when trying to use domain.tld/~username/

Access Not Allowed from this Domain

Anyone having similar problems?


Thanks! :)

SoftWareRevue
11-24-2002, 09:29 AM
Your httpd.conf is likely missing something like

<VirtualHost [IP Number]>
BytesLog domlogs/[Server.Domain.com]-bytes_log
ServerName [Server.Domain].com
DocumentRoot /usr/local/apache/htdocs
</VirtualHost>

Remove the [ and ]s after you input your information.

tazzy
11-24-2002, 09:34 AM
There was a bug in CPanel which mean't you could access everyones account just as you would using the server as the main url but with the clients url.

ie:

server url: http://server.blahhost/~username

customer url: http://haha.blahost/~username

They fixed that bug.... might be something to do with that.

ho247
11-24-2002, 09:56 AM
This is a feature in Apache that CPanel decided to turn on to prevent your other customers from stealing other customers' bandwidth by using the /~username URL. Instead of your client using http://www.theirdomain.com/ , they would use http://www.someotherusersdomain.com/~username/ , would give them their site, but the bandwidth will be charged to the other user. Take a look at this thread (http://forums.cpanel.net/read.php?TID=5172) over at the CPanel forums, it gives you a good explanation of what it is and how to remove it if you want to go back to the old way.

Alan

Darth
11-24-2002, 09:59 AM
Thanks! :)

tazzy
11-24-2002, 10:03 AM
Originally posted by ho247
[/B]

Yeah, I should have added why they fixed this bug but I couldn't remember :eek: :blush: