406 No More
Posted on 2nd September 2008 by papabearIf you're new here, you may want to subscribe to my RSS feed or get my updated posts via email. Thanks for visiting Kisahberuang.com!
I first noticed the problem when I commented at some Comment Luv enabled blogs where sometimes my last post appeared and sometimes did not. I contacted Andy Bailey, the creator of the plugin and he pointed out that there was something wrong with my remote access that threw out the 406 - Not Acceptable errors.
He pointed me to InternetSupervision.com where using it’s Free Internet Web Server Monitoring Tool revealed that I had 406 error on all connections! However, this problem did not affect everybody trying to access this blog. Only certain people would get the 406 error and all they needed to do was to refresh or hit enter one more time and the blog will be loaded. Nevertheless, it was still very annoying and some people would just move on to another blog.
I contacted my hosting company and they were puzzled with the error. After one week, they were still unable to find any solution. The error was pointing Apache ModSecurity and naturally, the error had to be pushed to them for fixing. They told me that modsecurity blocked my script but they did not know why and they have to find out how to resolve it. Sorry for the headaches guys!
At the same time, I was hitting the search engines for days on the 406 errors and yes there were lots of recommended solutions out there advising me to append the .htaccess with some codes that will compromise the security. Reluctantly, I tried those suggestions and none of them actually worked.
This morning while having shower, it occured to me that all the errors were pointing to index.php. What if I removed the index.php from my permalinks? So, I changed the permalink structure to custom and removed the index.php from it. At the same time, while looking for anything on removing index.php, I found a thread on Digital Point forum about what must be appended into the .htaccess and this time it was not about bypassing the security.
By adding the codes below to my .htaccess, my problems are gone!
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Sometimes, the solution to a problem is really easy but most of the time it is not that obvious thus making us search for the wrong things. It is nice to see that this blog is finally connected as shown in the picture above.
Popularity: 64% [?]
well done on sorting out your problem, it feels great when you can fix something the mighty hosting company doesn’t know how to doesn’t it?
Andy Bailey’s last blog post… The secret conspiracy behind the failing economy..
hehe dapat idea masa tgh mandi ker hehe, camni kena mandi selalu nih..,mandi ke minum air hehe
406 No More…
I have got rid of my 406 error!…
406 No More…
I have got rid of my 406 error!…
yeah!!!! finally… my problem is solve…
Commentluv is just something extra. I comment because I like the blog or the post. If someone hasn’t installed Commentluv then it’s fine with me! ![]()
Anyway, Google is you’re friend! Most of the hosting companies are just after your money! ![]()
BioTecK’s last blog post… Customize The Color Of Each Windows XP Folder
wah. aku tak guna la plugin tu. ![]()
ya… aku da try banyak cara da… cara ni pon x berkesan gak.. ke aku salah letak??
I’m experiencing some wierd thing in Commentluv..I have published a new post called “To Vista Or Not To Vista” and commentluv is pointïng to one of my previous post from
2 days ago called “Customize The Color Of Each Windows XP Folder”.
I’m getting this on everyblog with commentluv installed.. Hmm.. Well, I guess
something IS going on!
BioTecK’s last blog post… Customize The Color Of Each Windows XP Folder
I know that it can take some time before it can pick up the latest blog post but this is really odd. I found it very strange cause yesterday my blog seemed to be offline and a friend of me send me an email about it. So this morning I checked and nothing seemed to be wrong & I couldn’t find anything odd..
So I used the link in your post but then again: nothing seems to be wrong, however when you comment on my blog, your latest blog post doesn’t show up! ![]()
Strange, isn’t it?
BioTecK’s last blog post… Customize The Color Of Each Windows XP Folder
















