-
Tags
adsense animation apache apple blog coding compsci css diy facebook flash forum game google hard drive humor internet explorer iphone itunes java javascript link linux mac mysql Photography photoshop php Programming prototype python robot robotics school scratch search engine teaching theme tips twitter usb video web design wordpress youtubeMy Other Sites
Tag Archives: htaccess
Blocking Baidu
Went through this a year or so ago. The Baidu spider was hammering a forum and I blocked it because after hundreds of thousands of hits they sent me a grand total of 1 visitor. Let it sit for a … Continue reading
htaccess to deny access, except for includes
It’s usually a bad idea to allow php include files to be directly accessed. My general method is to either declare a constant in the index.php and check for that constant in the included file or make sure that the … Continue reading