Home > Sys Admin > Notes…

Notes…

April 17th, 2010 staze

Working on my site a bit today, I noticed that my recent install of “Broken Link Checker” was not functional. Turns out that it was throwing a ton of errors about the DB tables not existing. And indeed, they didn’t. I do a bit of digging, and find that at some point, probably for security sake, I had removed the “Grant” and “Drop” privileges from my WP site user. Once I added those, then reinstalled the plugin, it created the tables, and worked fine.

Second, I couldn’t modify my sidebar widgets. After some messing around, I found that it was due to my modifying my .htaccess file with some content from perishablepress.com. After removing chunks, then adding them back, I found it had to do with this line:

RewriteCond %{QUERY_STRING} ^.*(request|insert|union|declare|drop).* [NC]

Which was blocking the ajax functionality of the page. =/ I’m sure I could modify it a bit to allow these query strings from certain subnets, but it was just easier to remove it. *shrugs*

I’ll probably re-enable that line when I don’t need to modify the sidebar anymore… but for now, it works.

That’s all. Think I’m going to go out and see about replacing the HID bulbs on my 07 Prius.

Categories: Sys Admin Tags: .htaccess
Comments are closed.