Mod_Status tricks to View Apache Module Directives
AskApache.comQuick and easy method to get a list of all Apache Modules currently loaded, a list of all the directives each module provides, a list of currently used directives, etc... These directives...
View ArticleMod_Rewrite Variables Cheatsheet
AskApache.comWe've figured out what mod_rewrite variables look like so we can create rewriterules and condition patterns based on the actual value. This cheatsheet is where we'll lay them all out for...
View ArticleNo Budget Developer Wishlist
AskApache.com I need no software, I lack for nothing when it comes to software. winners don't do warez Well obviously if I could have anything I would want access to NSA computing power, googles server...
View ArticleBasic WordPress Theme Guide
AskApache.comThis is a brief explanation of what is needed for an awesome theme, well awesome from my perspective. This is good stuff, memorize it. This is a visual representation of all the different...
View ArticleThe Conscience of a Hacker – Hacker Manifesto
AskApache.comThe Conscience of a Hacker (also known as The Hacker Manifesto) is a small essay written January 8, 1986 by a computer security hacker who went by the handle (or pseudonym) of The Mentor...
View ArticleGet The Alexa Toolbar
AskApache.comThe Alexa Toolbar is a free search and navigation companion that accompanies you as you surf, providing useful information about the sites you visit without interrupting your Web browsing....
View ArticleIntroducing the Online Figlet ASCII Generator
AskApache.comLook at askapache. That's pretty boring huh? It would be cool to have a nerdy textual representation of that for extra nerdy stuff like styling my /robots.txt file, email list signatures,...
View ArticleGenerating AddDescription for all Files
AskApache.comfind . -type f -depth -print |xargs -iFF file FF|awk -F':' '{print $2}'|sed -e 's/ *(.*)$/AddDescription "1"/g'|sort|uniq #!/bin/bash sed -e...
View ArticleGoogle Web Fonts for Programming and Code
AskApache.comOk, so on a site like this one, there is a tremendous amount of 'code' that I share styled with CSS fonts and using the pre, code, var, tt, samp, and kbd html tags. When using a program...
View ArticleRewriteCond Cheatsheet
AskApache.comRequest to http://www.askapache.com/cg/rewrite-test/?catch=caught&this=that RewriteCond %{THE_REQUEST} = GET /cgi-bin/php/pro/rewrite-test/?catch=caught&this=that HTTP/1.1...
View ArticlephpMyAdmin Shortcuts with .htaccess
AskApache.com Can I access directly to database or table pages? Yes. Out of the box, you can use URL like http://server/phpMyAdmin/index.php?server=X&db=database&table=table&target=script....
View ArticleAlternate robots.txt files with Htaccess
AskApache.comSo here's the basic idea: There are 2 sites, a development site and a live site. They are essentially mirrors of each other in terms of they have the same files. You need to disallow all...
View ArticleShare a Mouse and Keyboard between Windows and Linux
AskApache.com Synergy lets you easily share your mouse and keyboard between multiple computers on your desk, and it's Free and Open Source. Just move your mouse off the edge of one computer's screen on...
View ArticleAwesome WireLess Bluetooth Headset
AskApache.comThis impressive device will help you talk that talk -Rihanna.100% no affiliation, just a simple google chat review. old school style Awesome WireLess Bluetooth Headset...
View ArticleSpeed Up init_connect in my.cnf for UTF8
AskApache.comMost info on the Net says to do the below. So I wanted to combine those into just 1 statement instead of 2. init-connect='SET NAMES utf8' init_connect='SET CHARACTER SET=utf-8' Combining...
View ArticleDisqus 2012 Default Sort Order Fix
AskApache.comIf you are using the WordPress disqus plugin, or really anything else to get Disqus on your site, you will see that annoyingly the default sort order for listing comments is 'best'.I have...
View ArticleGetting the Mimetype of an Image with PHP
AskApache.com This is awesome. I was so fed up with trying to find a fail-proof, cross-platform way to find the mime type of an image using PHP that I wrote a quick function that utilizes the same...
View ArticleFix Linux Users Home Permissions with a Cron Job
AskApache.comAs a security nut myself, and also a Linux admin, one of my biggest pet peeves is when I've taken the time and care to segment all the users on a server into separate home directories, and...
View ArticleView all MySQL Variables for Pasting into my.cnf
AskApache.comThis is really useful for me because I work with dozens of different database servers. The first thing I do is run this command and paste it into the servers /etc/my.cnf file. That way I...
View ArticleHTTP Status Codes
AskApache.comThis is a big update from the last time I looked into this, when I enumerated 57 Status Codes that Apache 2.x was capable of handling. This list contains 83 Status Codes that Apache...
View Article