Apache Web Server and htaccess

1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic by 0 people | Log in to rate

Ranked #2,872 in Tech & Geek, #69,854 overall

askApache Blog

All about the Apache Web Server, .htaccess, mod_rewrite, SEO, hacking, tech, php, etc.

 

Welcome to Apache Web Server and htaccess squidoo!
Please don't be shy as we all started somewere.  Hints

 

askApache Blog | htaccessElite forum

 

 

askApache 

Apache Web Server, Security Blog

Loading Fetching RSS feed... please stand by

New Guestbook 

submit

None 

htaccess Elite - Apache htaccess help, about mod_rewrite and htpasswd
Apache web server htaccess and mod_rewrite rewritemap rewriterule answers and questions, articles and discussions.

askApache Articles 

The very best articles published on askApache.
TIP: Google Analytics 404 error page
Using Google Analytics to create a best-practice 404 Error page.
Ultimate htaccess Article
List of Apache Web Server .htaccess and httpd.conf code snippets and examples... Unless you are an Apache developer or apache admin this article will contain a lot of new and unusual ways of using htaccess and httpd config files. There is a lot of gold sprinkled throughout this article so take your time, come back often, and look at every example so you don't miss any treasure.
Troubleshooting Apache .htaccess Authentication
Sometimes Apache Web Server users have problems getting Apache Authentication/password-protection in htaccess working, this is a troubleshooting guide to get Password Protection working!
Sending POST form data with php CURL
HowTo CURL Guide for sending POST data form request with PHP and CURL.
Rewrite underscores to hyphens for SEO URL
Replace underscores in URLs with hyphens using Apache .htaccess.
SEO with Robots.txt
Very nice tutorial dealing with the robots.txt file. Shows examples for google and other search engines. Wordpress robots.txt and phpBB robots.txt sample files.
Instruct Search Engines to come back to site after you finish working on it
What do you think Googlebot and other Search Engines do when they try to reach your site while you are tinkering with it?

Nifty SEO tip to get Search Engine Bots to check your site every hour until you finish working on it and tell them you are finished.

What if you could conveniently tell Googlebot and other bots that you are working on the page but you would like them to come back in, oh, say an hour? I know what I did when I found out this was possible.. I found out how to do it and now I'm sharing with you.
WOW, I served a page for every single HTTP Status Code and saved Headers and Content
There are 57 recognized HTTP Status Codes in the latest version of Apache. But chances are that you will only ever see or hear about 3-6 of them. Well I figured out a neat little hack by looking in the Apache Source Code that will let anyone setup Apache to send ANY HTTP status code for specific req
Force Apache to output any HTTP Status Code with ErrorDocument
View the headers and returned content for all 57 Apache Response codes and ErrorDocuments. This is one of the absolute coolest Apache htaccess tricks I've ever seen!
27 Request Methods for use with Apache and rewritecond and htaccess
List of the 27 Request Methods available for Apache and rewritecond and htaccess
Using TIME_HOUR and TIME_MIN RewriteCond in htaccess
Describes the use of the TIME_HOUR and TIME_MIN variables with RewriteCond and RewriteRule in Apache .htaccess
PHP and AJAX shell console
Ever wanted a command prompt console/shell on your web server? To run commands on your web server as if from an SSH shell? This is how you do it!
Faster Google Analytics with a local urchin.js
Speed up Google Analytics on your site with this simple technique!

Uses cronjob every 12 hours to download latests version of googles urchin.js file and serves it locally.
List of Methods to Redirect Users to Different Page
Quick Cheatsheet for Redirecting Users with Javascript redirect, meta refresh redirect, and php redirect, also htaccess methods to Redirect.
Multiply your DreamHost Referrals
Simple and effective method to start making good money from DreamHost Referrals
Getting flash to show up in front of content
I got the flash element to disappear behind other content by using the zIndex css attribute with javascript
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!
Security with Apache htaccess
htaccess tricks and tips to increase the security of your site.
Fix for secure and nonsecure items
I used to run into the problem of having warning messages pop up when I accessed a page with secure and non-secure information and finally I found something that let me post non-ssl encrypted content on an ssl encrypted page and no warning messages will pop up!
PHP htaccess tips and tricks
Apache htaccess tricks and tips for implementing, using, and optimising php and custom php.ini
mod_rewrite Tips and Tricks
mod_rewrite tips and tricks to be used in Apache htaccess
Use php.ini to replace html with anything
By including a php file using php.ini, you can replace the output headers and html
How to shorten links in Wordpress
How to shorten links in Wordpress
Speedy Sites with Image Sprites and CSS
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.
Speed Up Sites with htaccess Caching
2 awesome ways to implement caching on your website using Apache .htaccess or httpd.conf. Both methods are extremely simple to set up and will dramatically speed up your site!
mod_rewrite Fix for Caching Updated Files
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 bandwidt
Getting flash to show up in front of content
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.
301 Redirect with mod_rewrite or RedirectMatch
301 Redirects using Apache mod_rewrite or RedirectMatch in .htaccess or httpd.conf
Top methods for faster, speedier web sites
High Performance Web Site list of the best and newest methods to make web pages super fast using caching, compression, cache-control, etc.
Ultimate htaccess File sample
Comprehensive .htaccess example file with elite/advanced and intermediate examples in 1 htaccess sample
Requiring the WWW
Howto with working code: Require the WWW for SEO using Apache htaccess mod_rewrite, and Windows ISAPI_Rewrite
Mixed SSL Content Warning Secure Fixed
I used to run into the problem of having warning messages pop up when I accessed a page with secure and non-secure information and finally I found something that let me post non-ssl encrypted content on an ssl encrypted page and no warning messages will pop up!
DreamHost Site of The Month Contest
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.
Apache Web Server Speed Configuration Hacks
Apache server performance can be improved by adding additional hardware resources such as RAM, faster CPU, etc.
Stop WP-Cache from caching the index page
Disable caching on WordPress index pages when using WP-Cache with this neat mod to the famously speedy cache plugin.
Rigging the 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.
Custom Webmaster Shell Environment
Create a customized bash shell environment with this .bash_profile when using SSH.
Display Alternate Content based on the Time with mod_rewrite in .htaccess
Apache mod_rewrite code to serve alternate versions of a file depending on the server time - week, month, hour, year, second
WordPress Security Plugin - Secure /wp-admin/ with htaccess password protection
Add a 2nd layer of security to your blog for the /wp-admin/ folder, easy wordpress plugin!
Redirecting WordPress index.php to root
How To Redirect /blog/index.php to /blog/ using .htaccess mod_rewrite
Auto-Login to Google Analytics to impress Clients
Clients dont need to know the Analytics username or password, they just click this and automatically are logged into Google!
WordPress Plugin - AskApache Search Engine Verify Google and Yahoo
WordPress Plugin adds Google and Yahoo verification meta tags to authenticate site ownership and increase seo
Top 2 free online banks for Web Professionals
The 2 best free online banks for Web Professionals. Both have free savings and checking accounts with huge interest!
WP-Plugin: AskApache Firefox Adsense
WordPress plugin that displays a Firefox Google Referrals AdSense Ad on your blog only if the client is not running Firefox and on Windows.
Modified WP-Cache for Huge Speed Increase
Modify the WP-Cache Plugin on your WordPress blog to make it even better and your blog much faster!
Multiple Subdomains for a Quicker and Faster Web Site - Easy Apache Speed Tips
Subdomains can dramatically and drastically speed up your website by allowing multiple persistant connections and dns caching.
Plugin Displays all WordPress Rewrite Rules for Permalinks
WordPress Plugin shows internal Rewrite Rules used for permalinks.
The REAL Way to Optimize AdSense
Learn the best Size, Color, and Position to make money with Google AdSense Ads.
Country Specific Custom Google Search Engines
Find the Google Search Engine that is displayed for your country, International Multi-Languages.
View HTTP Request and Response Headers
Online Tool Shows detailed Headers for both the Request and the Response, uses GET not HEAD, and acts like a normal browser request for accurate Response Headers.
The Story of the Very First UNIX Ping Program - 1983
Interesting Story by the Author of the First UNIX Ping Program
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
Fresh .htaccess Examples: Cookies, Variables, Custom Headers
htaccess mod_rewrite code for Cookie Manipulation and Tests, Set Environment Variables and use them to send Headers and Rewrites, and Mod_Security .htaccess Examples
WordPress Plugin Displays the Type of Document, is_page, is_single, is_category
Displayes a semi-transparent box on the document you are viewing that tells you if its a page, single, feed, category, etc..
Control Flow of Pagerank with robots.txt and NoFollow, NoIndex
Matt Cutts Interviewed about robots.txt files, noindex, nofollow, and noarchive meta tags by Eric Enge of Stone Temple Consulting.
10 Best CSS .Classes in CSS Toolbox
CSS Toolbox of CSS classes for XHTML, Web Standards, Best-Practices web developers. Check out 10 of my favorite CSS classes.
Redirect Cheatsheet - mod_rewrite, javascript, cfm, perl, php 301 Redirects
Quick Cheatsheet for Redirecting Users with Javascript redirect, meta refresh redirect, and php redirect, also htaccess methods to Redirect.
Apache .htaccess Directives and Loaded Modules allowed on DreamHost Servers
Apache Directives for .htaccess and Loaded Modules for DreamHost Web Hosting Servers running Apache2
FeedSmith Feedburner Redirect Plugin is flawed, use .htaccess
FeedSmith plugin to redirect requests for feedburner feeds doesn't work 100%, but .htaccess and mod_rewrite do
Penetration Testing Network Security Tools
Computer Network Security Tools for Penetration Testing and Vulnerability Scanning
Song from the Ask.com commercial
The Song from the Ask.com commercial
SEO Traffic Boost Confirmed from 404 Plugin
Make every 404 Not Found shown to blog visitors into a huge SEO and Traffic boosting opportunity!
Give visitors the choice to open or save a pdf using .htaccess and php
.htaccess and php example serves .pdf files to give visitors the choice to open in an external program or save to disk without having to open it in the browser
Tips to Speed Up WordPress Plugin Development
WordPress Tips for Plugin Developers to make plugins easier to create and use.
Smart HTTP and HTTPS RewriteRule Redirects
Smarter SSL HTTPS to HTTP Redirections in .htaccess using RewriteRule to set an environment variable
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.

None 

htpasswd online tool Generator
htpasswd online tool Generator

None 

mod_rewrite Tips and Tricks
mod_rewrite tips and tricks to be used in Apache htaccess

by apachewebserver

All about the Apache Web Server, .htaccess, mod_rewrite, SEO, hacking, tech, php, etc. (more)

Explore related pages

Create a Lens!