Apache .htaccess recipes, tips and tricksApache .htaccess recipes, tips and tricks

Posted November 19th, 2010 in Apache (Updated November 24th, 2010)

This is a summary post containing a list of the articles from this blog containing recipes, tips and tricks for using Apache's .htaccess files.

Password protection

IP address restriction

PHP

Posts using mod_rewrite

Other stuff

Changing the .htaccess filename to something else

It's possible to change the filename used for htaccess files to something else, although you will need access to the server configuration to be able to set this in either the main config or on a virtualhost by virtualhost basis. It can be useful for having a different .htaccess file for your local development box. Read the post changing the .htaccess filename in Apache for more details.

Offsite articles with more htaccess tips and tricks

I've only got one at the moment, but if I find any other useful ones I'll add them here.

Comments

blog comments powered by Disqus