Knowledgebase

htaccess not working

Posted by germanshepherd, 06-24-2013, 12:30 AM
I am having trouble getting my htaccess working.My hosting company recommends order allow,deny deny from 125.239.5.232 allow from all. ......................... I am using RewriteCond on RewriteCond %{HTTP_REFERER} ^google/ RewriteRule /* mysite [R,L] ErrorDocument 403 /403.html RewriteCond %{HTTP_USER_AGENT} Googlebot order deny,allow deny from 66. ....................... Google is the only moron who is accessing my site at the moment.Any help with blocking this idiot intruder please?

Posted by Simplixnet, 06-24-2013, 01:31 AM
You can use either of the following methods: order allow,deny deny from 125.239.5.232 allow from all OR RewriteEngine on RewriteCond %{Remote_Addr} ^125\.239\.5\.232$ RewriteRule ^(.*) http://localhost/ [R,L] Use one, not both.

Posted by germanshepherd, 06-24-2013, 01:55 AM
thankyou for that info.My hosting has a weird way of setting the htaccess file up.My initial file that was setup by the ip blocker didn't stop anything.

Posted by germanshepherd, 06-24-2013, 02:39 AM
well that isn't blocking nosy google either.Any other suggestions please?In the meantime i have put my site files elsewhere and just made a simple one line index file

Posted by Simplixnet, 06-24-2013, 02:42 AM
RewriteCond %{HTTP_USER_AGENT} Googlebot RewriteRule ^.*$ "http\:\/\/htmlremix\.com" [R=301,L] For the last line, replace with your domain name.

Posted by zoid, 06-24-2013, 03:49 AM
To get things right, Google is not intruding or nosy but simply doing what it is supposed to do. If you dont want them to crawl your site, just tell them http://support.google.com/webmasters...&answer=156449

Posted by germanshepherd, 06-24-2013, 07:32 AM
and i am not the only person who HATES google.Do a search for "F off google"

Posted by zoid, 06-24-2013, 07:47 AM
If you dont want your website to be found, there is a simply solution. Dont publish. I seriously dont understand what the problem is.

Posted by germanshepherd, 06-24-2013, 07:56 PM
google is an email harvester as well.No wonder there is so much spam about with morons like google publishing email info.You want yet MORE proof that google is anunwanted intruder? WHY is it the only one causing me problems?Oh i know the answer to that already.Because google is a brainless feckwit who has problems with the word privacy.

Posted by HostLeet, 06-24-2013, 11:08 PM
You do realize that Google WILL stop crawling your site if you just tell them to stop.. Right? Simply create a 'robots.txt' file as zoid already recommended.. Problem solved.

Posted by germanshepherd, 06-25-2013, 12:02 AM
the only way to stop the morons is to ban them but then they are too stoopid to take notice of the 403 they are getting PLUS they often ignore robots text.I have seen proof of that. I had to change servers for my htaccess to work.The useless idiot at my other server refused to help me yet the advertise exceptional support (yeah right). It is the first time i have used a server where the htaccess didn't work.That is flexihost new zealand Last edited by germanshepherd; 06-25-2013 at 12:09 AM.

Posted by germanshepherd, 06-25-2013, 12:13 AM
ha,it even tried going thru domaintools.Try again you halfwit

Posted by germanshepherd, 06-26-2013, 09:23 PM
and the halfwit google is still trying

Posted by net, 06-26-2013, 09:29 PM
Moved > Hosting Security and Technology.

Posted by germanshepherd, 10-12-2013, 10:31 PM
I have since moved my hosting and no more trouble with that htaccess file.The clown who runs that hosting site i was on hasn't got a clue.

Posted by germanshepherd, 10-13-2013, 10:28 AM
if you are havng the same problems as i had,it could be the hosting companys fault.I tied to block a friend.Wouldn't work.He is still with the same "crowd" and he tried to block me and it didn't work.The moron at the hosting couldn't be bothered doing anything so i up and moved,best thing i ever did.My friend cant even email me because they bounce.I had my domains with the "clown" as well.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
DEHE.com domain only (Views: 608)


Language:

Client Login

Email

Password

Remember Me

Search