Clever you...Habbox.justgotowned.com
You might need a server to do this as I'm thinking you MIGHT have to put the htaccess in a higher folder, such as like /home/ not /home/account/.
Also, you might have to tweak httpd.conf? Idk lol
Clever you...Habbox.justgotowned.com
You might need a server to do this as I'm thinking you MIGHT have to put the htaccess in a higher folder, such as like /home/ not /home/account/.
Also, you might have to tweak httpd.conf? Idk lol
Well... I'm not very good with .htaccess but here's what I would suggest....
Use .htaccess to redirect users to an error page that just gets the referrer and then does the counting that way. So basically you just have to setup an .htaccess file with your error pages defined as so:
And then on the counter.php just have it do something with the referrer and that should help you out. So you can use PHP on the error page to see whether or not the referrer was a subdomain and if not then just dont count itCode:ErrorDocument 404 /errors/counter.php![]()
Uhm, I don't think that helps him set up like a wildcard subdomain, so anyone can do:
sdfsdfsfsdf.hissite.com
If that doesn't exit, he'll get a DNS error as it's not a real URL as it's not defined in his virtual hosts file, etc.
Want to hide these adverts? Register an account for free!