AskApache Logo AskApache (2)

Search AskApache

Blocking Bad Bots and Scrapers with .htaccess

Block Bad RobotWant to block a bad robot or web scraper using .htaccess files? Here are 2 methods that illustrate blocking 436 various user-agents.

Related · scraper  · RDF · RSS | 11:04 am


Crazy Cache WordPress Plugin Released

AskApache Crazy Cache WordPress PluginA WordPress plugin that caches your entire blog for WP-Cache, I love this plugin and finally released it to the public!

Related · wpcache  · RDF · RSS | 1:25 am


Hacking VLAN switched networks

Bypassing VLAN security on networked switchesThere isn’t much vlan info on the net in terms of specifics and I had to learn all about it because I needed to log in to a switch that was on a different vlan. With the help of the Ettercap developers NaGA and ALoR I figured it out.

Related RDF · RSS | 7:48 pm


Search Engine Verify Plugin Updated

Wordpress SEO Plugin Search Engine VerificationThis plugin has been updated for WordPress 2.5 and includes more options to get your site indexed by Google and Yahoo.

Related · meta  · RDF · RSS | 3:51 am


Apache SSL in htaccess examples

SSLOptions +StrictRequire
SSLRequireSSL
SSLRequire %{HTTP_HOST} eq "google.com"
ErrorDocument 403 https://google.com

Some of the Ins and Outs of using SSL Connections with Apache.

Related · Apache  · RDF · RSS | 9:31 pm


Fresh .htaccess Examples: Cookies, Variables, Custom Headers

Cookie Manipulation in .htaccess with RewriteRuleFresh .htaccess code for you! Check out the Cookie Manipulation and environment variable usage with mod_rewrite! I also included a couple Mod_Security .htaccess examples. Enjoy!

Related · htaccess  · RDF · RSS | 12:46 pm


AskApache Password Protection, For WordPress

AskApache Password Protect ScreenShot 1AskApache Password Protect adds some serious password protection to your WordPress Blog. Not only does it protect your wp-admin directory, but also your wp-includes, wp-content, plugins, etc. plugins as well. Imagine a HUGE brick wall protecting your frail .php scripts from the endless attacks of automated web robots and password-guessing exploit-serving scripts.

Related · apache  · RDF · RSS | 9:02 am


PHP Sessions/Cookies On The Fly

Multiple Web Technologies for dynamic php session controlThis article shows how to save and modify php session data, cookies, do anything really… without using ajax or iframes or forcing the user make a request.

Related · sessions  · RDF · RSS | 6:08 am


Auto-Login to Google Analytics to impress Clients

Google Analytics for your clients sites is a no-brainer, it ROCKS! I have 100+ client sites running Analytics and all of them have trouble-free (no password or username to remember) access to their site reports. Thanks to the method in this post, my clients couldn’t be happier..

Related · account  · RDF · RSS | 3:42 pm


Advanced HTTP Redirection

HTTP Redirection Status Codes, 300Learn about the 7 different HTTP response codes specifically reserved for redirection. 301, 302, 303, 304, 305, and 307.

Related · 301  · RDF · RSS | 5:02 am


IP Abuse Detection for DreamHost

Block IP Address .htaccessScan Apache logs for IP address that are probably evil, then generates an .htaccess file to DENY them all.

Related · bot  · RDF · RSS | 9:46 am


Updated robots.txt for WordPress

WordPress robots.txt SEOImplementing an effective SEO robots.txt file for WordPress will help your blog to rank higher in Search Engines, receive higher paying relevant Ads, and increase your blog traffic. Get a search robots point of view… Sweet!

Related · wordpress  · RDF · RSS | 10:35 pm


Hack WP-Cache for Maximum Speed

WP-Cache with Full AskApache HackIf you desire SPEED from your WordPress blog, the #1 speed improvement comes from using the WP-Cache Plugin. If you still desire SPEED after installing the Plugin, you can modify the WP-Cache Plugin code to make your blog even faster!

Related · cache  · RDF · RSS | 2:37 am


Speed Tips: Add Cache-Control Headers

Cache-Control Headers OnUsing Cache-Control headers you can specify which types of proxies can cache certain content, and how long files should be cached.

Related · max-age  · RDF · RSS | 11:53 pm


Faster Form Submission and Processing with fsockopen

Speedy Forms using background-requestsPart II: Example illustrating how to speed up GET/POST form submissions. Uses fsockopen to initiate a server-side background request to process the submitted data, so that the result page of the form is displayed to the client lightningly quick.

Related · submit  · RDF · RSS | 11:18 pm


Faster POST and GET Form Submissions

Snoopy Fsockopen HTTP Class for PHPJust a very brief look at speeding up form submission by delegating the processing and bandwidth to your server, not your client.

Related · socket  · RDF · RSS | 10:21 pm


.htaccess mod_rewrite rewrite examples

A hit-list of some of my favorite mod_rewrite code snippets for .htaccess files

Related · rewrite  · RDF · RSS | 3:38 pm


Update: AskApache Password Protect Plugin

The Plugin Control PageWordPress plugin gives you control over HTTP Basic Authentication for your WordPress blog which among other things, stops most automated hacking attempts and exploits being attempted, cutting down on the number of requests, connections, and mysql queries for all WordPress blogs on the Internet.

Related · wordpress  · RDF · RSS | 10:51 am


Preloading .flv and .mp3 files with Flash

Preload/Cache .mp3 .flv files with Flash ActionscriptIf you want to pre-load .flv / .mp3 files into a visitors browser cache using flash, here’s the actionscript I use to do it, and some ideas behind a good javascript implementation using swfobject or ufo.

Related · flash  · RDF · RSS | 12:30 pm


Hacking WP Super Cache for Speed

AskApache Crazy Cache - coming soonA plugin built to generate static files from php+mysql for Apache to serve the way its supposed to be.. My dream. Conclusion: Needs some improvement, pretty sweet though.

Related · static  · RDF · RSS | 9:41 am


Speed Up Google Analytics, use local ga.js

Google Analytics ga.js SpeedHost Google Analytics ga.js file locally for increased speed! Makes web pages load faster.

Related RDF · RSS | 8:35 am


Log all .htaccess/.htpasswd logins

htaccess htpasswd with phpLearn how to log and debug usernames and passwords used to login to a htaccess basic authorization protected website using php. This article is BOSS and will show you how to fully take control of this aspect of security using php and .htaccess, I don’t believe you will find instructions to do this anywhere else on the net.

Related · authorization  · RDF · RSS | 9:20 pm


Advanced WordPress 404.php

For the AskApache Google 404 WordPress Plugin update I added a new 404.php that is more advanced than anything previously seen for a 404.php

Related · askapache  · RDF · RSS | 9:02 pm


Hackers Declare Total War against Scientology

Hacker Group AnonymousFor the good of your followers,
for the good of mankind,
and for our own enjoyment,
we shall proceed to expel you from the Internet and systematically dismantle the Church of Scientology in its present form.

Related · cruise  · RDF · RSS | 1:22 am


Is Your Password Crackable?

Rainbow Tables for md5 or sha1 hashI’ve put up a new tool to check the strength of your password hash, that locates weak passwords by searching Rainbow Tables for md5 or sha1 hash match. Locate and fix this common security vulnerability before being exploited.

Related · md5  · RDF · RSS | 1:07 am


Firefox Adsense WordPress Plugin

ScreenShot of WordPress Plugin AskApache Firefox AdsenseIf your WordPress blog uses AdSense, and you love Firefox you will love this plugin. When a user downloads and installs Firefox through your referral, we’ll credit your account with up to $1.00 (more details).

Related · money  · RDF · RSS | 8:33 pm


Background Beat, Heads Up

I’m close to publishing a tutorial on this site in the next day or two, and I feel its the best AskApache article by far… so I wanted to get a B-E-A-T started



Related RDF · RSS | 3:38 am


Come On and Sprite for your Website

CSS Sprite, candid shotLet me show you an example that works so well I am using it right now on my site. Every page in fact. If you are a young or up and coming web developer with skills to pay the bills, lets make the future Net fast, learn about optimization and refactoring while you still have the chance.

Related · css  · RDF · RSS | 12:56 am


Skeleton .htaccess file for Powweb Hosting

Powweb Web HostingIf you have a Powweb Webhosting account, you will appreciate this simple skeleton .htaccess file for use on their systems.

Related · .htaccess  · RDF · RSS | 5:05 am


Custom Boot Menu in Windows XP

Advanced XP Boot MenuOne of the first things that I do upon receiving a new Windows computer is immediately create a poweruser-style customized boot menu. Then every time I boot I can choose Safe Mode, Recovery Console, Debug, whatever I want! It’s quick and easy to set-up and everyone should have one, soo sweet!

Related · format  · RDF · RSS | 11:37 pm


Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, which lets you use/modify/re-post this content provided you follow the attribution guidelines in the license.