mod_rewrite is very useful in many situations. Yet some behaviors were not so obvious when I started to mess with it. After many testings, I understand it much better, now. Having said that, I do not pretend to know it perfectly. I also make mistakes.
Continue ReadingApache HTTP Server Articles (3)
Commonly Used htaccess Code
A lot of commonly used htaccess code snippets for use with the Apache Web Server.
Continue ReadingSet Environment Variables According To URL
Perhaps you want to keep status information between requests and use the URL to encode it. But you don’t want to use a CGI wrapper for all pages just to strip out this information.
Continue ReadingAllowing Access From 1 static IP and Deny the rest
Say you want to deny access to your entire site except when you access it. The following htaccess code does just that.
Instead of a Static IP you could also use a hostname, or part of a hostname..