Friday, May 9, 2008

Wednesday, May 7, 2008

Add Akismet Anti-Spam to your php forms

How To Add Akismet Anti-spam protection to your php forms

read more | digg story

Friday, May 2, 2008

WordPress Plugin for Apache .htaccess Security

New Security features incorporated by the AskApache Password Protection WordPress Plugin

read more | digg story

Monday, April 28, 2008

SEO Secrets of AskApache.com

Non-SEO related Server research has turned up some nice SEO techniques

read more | digg story

Friday, April 25, 2008

mod_security tricks for .htaccess or httpd.conf

Learn how to control spam once and for all, conditionally log/deny/allow/redirect requests based on IP, username, etc.. Mod_Security is so fine!

read more | digg story

Monday, April 14, 2008

Invisible Sniffing: Capturing Ethernet Traffic Undetected

Using some built-in linux/unix networking commands you can prevent the transmitting of any data out of your sniffing device, remaining invisible.

read more | digg story

Monday, March 31, 2008

Bypassing and hacking VLAN switches

Defeating VLAN security on switched networks, hack the switch

read more | digg story

Sunday, March 30, 2008

Hacking WP Super Cache

Improvements to the WordPress plugin- WP Super Cache for improved blogs

read more | digg story

Friday, March 28, 2008

Trick to run php without ajax, iframes, requests

Some moderately advanced web development, definately some very cool stuff though. Multiple Web Technologies for dynamic php session/cookie control

read more | digg story

.htaccess tutorial for SEO 301 Redirects with RedirectMatch

SEO Search Engine Friendly Redirects without mod_rewrite using RedirectMatch and mod_alias

read more | digg story

Tuesday, March 4, 2008

Faster Form Submission and Processing with fsockopen

Speed up GET / POST form submissions using fsockopen to initiate a server-side background request to a separate script to process submitted data

read more | digg story

Wednesday, January 30, 2008

Speed Up Google Analytics, use local ga.js

Host Google Analytics ga.js file locally for increased speed

read more | digg story

Tuesday, January 29, 2008

Log all .htaccess/.htpasswd logins

Log and debug usernames and passwords used to login to a htaccess basic authorization protected website using php.

read more | digg story

Monday, January 14, 2008

PHP CURL Code Grabs Feed Subscribers from Google Reader

PHP curl example utilizing cookies, POST, and SSL options to login to Google Reader and fetch the number of subscribers for a particular feed url

read more | digg story

Tuesday, January 8, 2008

PHP CURL Code Grabs Feed Subscribers from Google Reader

PHP curl example utilizing cookies, POST, and SSL options to login to Google Reader and fetch the number of subscribers for a particular feed url

read more | digg story

Friday, November 30, 2007

301 Redirect Cheatsheet - mod_rewrite, javascript, cfm, perl, php

Quick Cheatsheet for Redirecting Users with Javascript redirect, meta refresh redirect, and php redirect, also htaccess methods to Redirect.

read more | digg story

Wednesday, November 28, 2007

PHP Anti-Spam Captcha Script to Secure Form

PHP Anti-Spam Captcha Tutorial to stop automated web robots and spammers from taking advantage of your site.

read more | digg story

Smart HTTP and HTTPS RewriteRule Redirects

Smarter SSL HTTPS to HTTP Redirections in .htaccess using RewriteRule to set an environment variable

read more | digg story

Saturday, November 10, 2007

DreamHost Employees shocked visitors to their website today

DreamHost has a wholly "unique" approach to web hosting, and its paying dividends.

read more | digg story

Tuesday, November 6, 2007

SEO Traffic Boost Confirmed from 404 Plugin

Make every 404 Not Found shown to blog visitors into a huge SEO and Traffic boosting opportunity!

read more | digg story

Tuesday, October 23, 2007

Port Redirector - Advanced

Port redirectors are very cool little programs.. They basically redirect data from one port to another, mostly used for hacking. UDP, mysql, sockets, TCP, etc.

read more | digg story

Pentagon hacker gets law lords appeal

Three judges have agreed that hacker Gary McKinnon can appeal to the House of Lords against his extradition order to the US. McKinnon, 41, was charged in 2002 with multiple counts of breaking into US military and government computer networks. However, he has remained free in Britain while he fights extradition.

read more | digg story

SSL and Apache - Example Code for httpd.conf or .htaccess

Apache SSL in htaccess examples with SSLRequireSSL and SSLRequire in SSLOptions with FakeBasicAuth and StrictRequire

read more | digg story

Set Charset in .htaccess

Replace the meta http-equiv content-type UTF-8, by using one of the methods outlined in this article in either httpd.conf or htaccess

read more | digg story

Monday, October 15, 2007

Wget Trick enables Downloading from Restrictive Sites

Wget can be setup automatically with .wgetrc or env variables to be configured to act like a normal browser, thus allowing wget to download and access files from otherwise restricted urls.

read more | digg story

Add Far Future Expires Headers to Speed Up Your Site

Learn How to Add a Far Future Expires Header to your files to make your site lightning fast!

read more | digg story

Cache and GZIP your javascripts and CSSs files to speed up your site

In this post for programmers and "webmasters" we try to teach how to cache and gzip your CSS and javascript content, to speed up the download time of your site. Your Web application can use this files if:- You can use .htaccess- You have CSS only and JS only folders to apply to the whole folder- You can use PHP in your hosting

read more | digg story

Easy Apache Speed Tips: Turn On Compression

Compress files before sending to the client using mod_deflate.

read more | digg story

Wordress hacks to use it as a CMS for any web site

Nick L.A. wrote some pretty cool hacks on how to modify wordpress themes and wordpress code to use it as a general CMS platform and not only as blogging platform. Tricks are easy to use for non developers.

read more | digg story

WordPress Plugin Displays the Type of Document, is_page, is_single, is_cate

Displayes a semi-transparent box on the document you are viewing that tells you if its a page, single, feed, category, etc..

read more | digg story

10 Best CSS .classes in CSS File Toolbox

CSS Toolbox of CSS classes for XHTML, Web Standards, Best-Practices web developers. Check out 10 of my favorite CSS classes.

read more | digg story

The REAL Way to Optimize AdSense

Learn the best Size, Color, and Position to make money with Google AdSense Ads.

read more | digg story

The Story of the Very First UNIX Ping Program - 1983

Interesting Story by the Author of the First UNIX Ping Program

read more | digg story

CSS Sprites using background-position on Background Images

CSS Image Sprites are single image files with multiple images, using the background-position in CSS you position the background-image to create a sprite

read more | digg story

Fresh .htaccess Examples: Cookies, Variables, Custom Headers

Fresh .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!

read more | digg story

Monday, September 17, 2007

Get more speed out of WP-Cache

Ask Apache has hacked the WP-Cache Plugin to make it even faster. http://www.askapache.com/wordpress/wp-cache-speed-hack.html

read more | digg story

Sunday, August 26, 2007

Auto-Login to Google Analytics to impress Clients

Clients dont need to know the Analytics username - password, they just click a button that activates a hidden form and automatically are logged into Google!

read more | digg story

Monday, August 20, 2007

WordPress Plugin - htaccess password protection

Add a 2nd layer of security to your blog for the /wp-admin/ folder, easy wordpress plugin!

read more | digg story

Blog Security: htaccess password block

You can use it password protect access to your login screen without fiddling with htaccess.

read more | digg story

Redirecting WordPress index.php to root

How To Redirect /blog/index.php to /blog/ using .htaccess mod_rewrite

read more | digg story

Wednesday, July 11, 2007

Different page served for morning, noon, and night with MOD_REWRITE

An often requested implementation of this is to display a different home page or image depending on if its morning, noon, or night.. or load-balancing.

read more | digg story

Sunday, July 8, 2007

Custom Shell Env for Webmasters

Very pretty bash shell environment with this .bash_profile when using SSH.. DreamHost examples..

read more | digg story

Monday, July 2, 2007

Rigging DreamHost Site of the Month Contest

Since AskApache.com was disqualified and accused of cheating, which is absolutely false, I decided to go ahead and do the crime I have been punished for. That's right, I'm going to show YOU how I COULD have rigged the DHSOTM contest to hopefully make the statement that I absolutely did not cheat.

read more | digg story

Monday, June 25, 2007

Advanced Control of WP-Cache WordPress plugin

Disable caching on WordPress index pages when using WP-Cache with this neat mod to the famously speedy cache plugin.



read more | digg story

Sunday, June 24, 2007

Apache Config Speed Hacks

Apache server performance can be improved by adding additional hardware resources such as RAM, faster CPU, etc.



read more | digg story

Friday, June 1, 2007

Change Windows Passwords from DOS

Ever go to get on a computer and the user is logged out, and you don’t know the password? Or do you have some access, but not access to a users private files, and you want access to those files?



read more | digg story

Thursday, May 31, 2007

DreamHost Site of the Month SEO Challenge

Every month a contest called DHSOTM is held for the highest rated website on DreamHost. By winning the contest your site gets SEO and traffic benefits, which I hope to measure soon.



read more | digg story

DreamHost Site of the Month SEO Challenge

Every month a contest called DHSOTM is held for the highest rated website on DreamHost. By winning the contest your site gets SEO and traffic benefits, which I hope to measure soon.



read more | digg story

Tuesday, May 29, 2007

htaccess file sample

Only the very best tried-and-true htaccess examples.



read more | digg story

Friday, May 25, 2007

Speed Up Google Analytics and your Site

Ever notice that sometimes your sites take a while to load all the way because loading Google’s urchin.js file is taking forever? You may recognize this problem when you see something similar to this in your browsers status bar “Transferring data from google-analytics.com…”Time for Fix? 4 minutes



read more | digg story

Apache .htaccess New CheatSheet

Apache Web Server .htaccess and httpd.conf code snippets and examples updated regularly with the newest and best htaccess!



read more | digg story

WordPress robots.txt optimized for SEO

Shows a method using meta tags combined with a robots.txt file to optimize wordpress for seo.. very nice read.



read more | digg story

Thursday, May 24, 2007

Apache HTTP Status Codes Discovered

All 57 HTTP Status Codes and ErrorDocuments. Includes headers and data sent by apache for each one!



read more | digg story

Wednesday, May 23, 2007

Secrets to make Faster, Speedier sites

Describes the very best and easiest methods to speed up your website. Sources include yahoo, google, oreilly, and the list includes methods of using caching, compression, gzip, css, js, etc.



read more | digg story

List of all 27 Request Methods for HTTP

List of the 27 Request Methods available for Apache and rewritecond and htaccess



read more | digg story

Tuesday, May 22, 2007

Sniffing On Ethernet Undetected

All you need is a MAC and a device and you can sniff without sending any packets, making yourself invisible. I have been in some tight spots where I had to sniff a password or two off the wire, or sniff some packets off the wire undetected.. So I tried a few things and this is what worked..



read more | digg story

Monday, May 21, 2007

301 Redirects with mod_rewrite or RedirectMatch

301 Redirects using Apache mod_rewrite or RedirectMatch in .htaccess or httpd.conf



read more | digg story

Thursday, May 17, 2007

Rearranging Flash Elements with zIndex and wmode

I wanted a particular flash movie to show up when a user clicked on one of six buttons. I got the flash element to disappear or appear behind or in front by using the zIndex css attribute with javascript, and the wmode attribute.



read more | digg story

Updated Files and Caching mod_rewrite hack

Web Developers sometimes use file.ext?v=004 as a version control system to force visitors to use updated files. This is terrible. Instead link to apache-003.css and set it to be cached forever. When you change the file you just change the links to apache-004.css. That eliminates millions of bandwidth and resource robbing If-Modified-Since request



read more | digg story

Security with Apache htaccess

htaccess tricks and tips to increase the security of your site



read more | digg story

Updated Files and Caching mod_rewrite hack

Web Developers sometimes use file.ext?v=004 as a version control system to force visitors to use updated files. This is terrible. Instead link to apache-003.css and set it to be cached forever. When you change the file you just change the links to apache-004.css. That eliminates millions of bandwidth and resource robbing If-Modified-Since request



read more | digg story

Wednesday, May 16, 2007

Speed up Google Analytics with this simple technique

Uses cron to download fresh version of googles urchin.js file every 12 hours to be served locally, really made a difference on my sites.yoursite.com/urchin.js instead of google-analytics.com/urchin.js



read more | digg story

Using HTTP Headers with htaccess

How would you like to be able to send P3P privacy headers, Content-Type: UTF-8, Content-Language: en-US, etc.. using just htaccess? Now you CAN!



read more | digg story

Best Apache htaccess Code snippets

Apache Web Server .htaccess and httpd.conf code snippets and examples that I use all the time.



read more | digg story

Speed Up Sites with htaccess Caching

"Increase your page load times and save bandwidth with easy and really effective methods using apache htaccess directives. mod_headers to set expires, and max-age, and cache-control headers on certain filetypes. The second method employs mod_expires to do the same thing -- together with FileETag, makes for some very fast page loads!"



read more | digg story

Coolest Apache trick I've ever seen! 57 ErrorDocuments & Headers

When an Error is encountered, Apache serves the Status Code header and the ErrorDocument for the error. For instance, requesting a non-existing file causes a 404 Not Found error.List of all 57 HTTP Status Codes recognized by Apache, and view all returned source-code and headers for all 57 Apache Response Codes, like 506, 503, 408, etc.



read more | digg story

Thursday, May 10, 2007

Best Apache htaccess Code snippets

Apache Web Server .htaccess and httpd.conf code snippets and examples that I use all the time.



read more | digg story

Speedy WebSites using CSS and Image Sprites

Example use of an image sprite with css to speed up your websites drastically. An image sprite is 1 image composed of multiple images, using CSS you can display just one part of the image using background-position.



read more | digg story

mod_rewrite Tips and Tricks

mod_rewrite tips and tricks to be used in Apache htaccess



read more | digg story

Using HTTP Headers with htaccess

How would you like to be able to send P3P privacy headers, Content-Type: UTF-8, Content-Language: en-US, etc.. using just htaccess? Now you CAN!



read more | digg story