High Performance Web Site list of the best and newest methods to make web pages super fast using caching, compression, cache-control, etc.
Continue ReadingApache HTTP Server Articles (2)
Apache Variable Fun in htaccess
Server and Environment Variables are used by The Apache HTTP Server by provides a mechanism for storing information. This information can be used to control various operations such as logging or access control.
Continue Readinghtaccess HTTPS / SSL Tips, Tricks, and Hacks
Apache has the best SSL/HTTPS support and can be controlled by the httpd.conf file or other HTTPD server configuration file. This htaccess tutorial has htaccess example code to make it easy to secure and use HTTPS and SSL with Apache.
Continue ReadingSecurity with Apache htaccess Tutorial
Apache Security tips and tricks for securing Apache Web Servers using htaccess, httpd.conf, and other built-in techniques to thwart attackers. This really should be required reading for any Apache admin or user because these little tricks are so easy to do.
Continue ReadingApache Authentication in htaccess
How to password-protect, Allow or Deny a visitor based on a condition. If you are having trouble getting htaccess-based password protection to work see: Troubleshooting htaccess Authentication: Getting it to work
Continue Reading
Speed up your site with Caching and cache-control
Caching with .htaccess and Apache will take your website and your web skills to the next level. This is some technical and advanced methods condensed to simple htaccess code examples for you.
Continue Readinghtaccess rewrite, Mod_rewrite tricks
Mod_Rewrite Tips and Tricks is as glamorous as it sounds! mod_rewrite is just possibly one of the most useful Apache modules and features. The ability to rewrite requests internally as well as externally is extremely powerful.
Continue ReadingSEO Redirects without mod_rewrite
Web Professionals use mod_rewrite to issue 301 and 302 Redirects for Search Engines. Sometimes you may not have mod_rewrite.c or you want an alternative redirect method. Using mod_alias RedirectMatch you can use REGEX in Redirect commands!
Continue ReadingPHP htaccess tips and tricks
Htaccess php tips and tricks for the Apache HTTPD Web Server, mostly these tips show you how to run customized versions with customized php.ini files, I require custom php.ini files because they are so useful!
Continue ReadingManipulating HTTP Headers with htaccess
Apache .htaccess and httpd.conf have the power to send and manipulate HTTP Header Requests like sending P3P privacy headers, Content-Type: UTF-8, Content-Language, etc. The power is immense and you can do some really cool stuff with HTTP Headers!
Continue Readinghtaccess Tricks for Webmasters
Some of my favorite htaccess examples from some of my favorite .htaccess tutorials. These cut-and-paste ready htaccess code snippets are very useful for website and server administrators.
Continue Reading.htaccess Tutorials, Sample .htaccess files
Apache .htaccess file, tips, tricks, and sample code including mod_rewrite, SSL, headers, and cache…
Continue Readinghtaccess rewrite, htaccess
Comprehensive .htaccess example file with advanced examples in 1 htaccess sample skeleton .htaccess file with the very best apache htaccess examples… Updated frequently based on detailed info from the Apache htaccess tutorial.
Continue ReadingUsing FilesMatch and Files in htaccess
Files and FilesMatch to target multiple files and using Regular expressions using .htaccess files on Apache.
NOTE: FilesMatch should be used instead of Files when dealing with multiple files.
Adding UTF-8 content-type and and en-US language headers to files with extensions htm, html, css, js, and php [...]
Continue ReadingReplacing ‘%23′ with ‘#’ in incoming links
I had some urls show up in my google sitemaps for one of my sites with “404 Not found” errors for a bunch of urls that had “%23comment-155″ looking urls instead of “#comment-155″
Continue Reading27 Request Methods for Apache rewritecond htaccess
Have you ever wondered how many REQUEST_METHODS you could use in Apache?
Scan Your Site to see what Request Methods are currently allowed, and fix potential security holes.
Intro
The Request Method, as supplied in the REQUEST_METHOD meta-variable, identifies the processing method to be applied by the script [...]
Instruct Search Engines to come back to site after you finish working on 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.
Continue ReadingControl htaccess Basic Authentication with PHP and mod_rewrite
Control htaccess Basic Authentication with PHP and mod_rewrite
Continue ReadingRewrite underscores to hyphens for SEO URL
Replace underscores in URLs with hyphens using Apache .htaccess.
Continue ReadingServe Alternate Content based on Time
Time-dependant rewriting uses mod_rewrite and apache server time variables to display different files depending on the time, while the URL stays the same. An often requested implementation of this is to display a different home page or image depending on if its morning, noon, or night.
Security Enhancing with htaccess
Securing Subdirectories using unique apache htaccess solutions.
Continue ReadingApache Web Server Speed Configuration Hacks
Apache server performance can be improved by adding additional hardware resources such as RAM, faster CPU, etc.
Continue ReadingHTTP Packet Capturing to debug Apache
This article is a quick and easy HowTo detailing the use of Wireshark or another network sniffing program to debug your Apache .htaccess or httpd.conf files.
Continue ReadingDebug apache log files from php
Secure phpinfo.php with .htaccess, Now instead of getting a 404 error you will see debug information which will help you find out what the problem is.
Continue ReadingUsing TIME_HOUR and TIME_MIN for htaccess RewriteCond
If you want to redirect to a different version of a file based on the time, this code is for you! Please read: Serve Alternate Content based on Time
Continue Reading.htaccess - Wikipedia
.htaccess (Hypertext Access) is the default name of Apache’s directory-level configuration file. It provides the ability to customize configuration directives defined in the main configuration file. The configuration directives need to be in .htaccess context and the user needs appropriate permissions.
Statements such as the following [...]
Continue ReadingRunning a Reverse Proxy in Apache
In 2003, Nick Kew released a new module that complements Apache’s
mod_proxy and is essential for reverse-proxying. Since then he gets
regular questions and requests for help on proxying with Apache. In
this article he attempts to give a comprehensive overview of the
proxying and mod_proxy_html
This [...]
Continue ReadingSpeed 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!
Continue ReadingSetting charset in htaccess
Learning about charset’s and file types maybe pretty boring, but using .htaccess it can be fun!
Continue ReadingLinks to htaccess tutorials and articles
Links to htaccess tutorials and howtos in the htaccess forum
Continue Reading