HELP! 403 error after modifying .htaccess rewrite rules killing my site..
The following issue is driving me mad. Any one around to fix my issues and get me out of this stress? Will be really grateful.
I developed this application to check social sharing counts for any website.
I was cross checking websites performance and seo status when I found my site is prone to libwww-perl attacks. I tried suggested steps to block libwww-perl useragents and accordingly I added following codes to my .htaccess file
However, the here (http://shareyt.com/SocialCounter.php) application still works when the "http://" is not in query url.
For example: if you try this link you will get the counts :
But the following link will give 403 error.
I have removed the mod rewrite codes and restored old version of .htaccess file. But its in vein.
I have also cleared browsers cache. Nothing works.
I'm not sure I follow the problem here.
http:// is according to this required to be removed from the querystring. Whenever it is present it *should* throw a 403.
Looks to me that the .htaccess hasn't been modified or is cached server side (which it shouldn't be).
Yes, exactly, what i was trying to say.
When the query string contains "http://" the url shows 403 error.
But if the http:// portion is excluded the page works just fine.
Can it be caching on server side causing this problem?
If so how to get rid of this?
Shouldn't be, not if you put it in a .htaccess file.
You can try restarting the httpd daemon or the machine itself. You can only do that of course if you are using a dedicated machine.
My suspicion is still that the .htaccess you have is the old one.
|All times are GMT +1. The time now is 08:50 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.