301 Redirect with mod_rewrite or RedirectMatch
301 Redirects using Apache mod_rewrite or RedirectMatch in .htaccess or httpd.conf
Control htaccess Basic Authentication with PHP and mod_rewrite
Rewrite underscores to hyphens for SEO URL
Replace underscores in URLs with hyphens using Apache .htaccess.
Sending POST form data with php CURL
CURL Guide for sending POST data form request with PHP and CURL
Serve 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.
htaccess directives available on Powweb
Security Enhancing with htaccess
Securing Subdirectories using unique apache htaccess solutions.
Custom PHP.ini tips and tricks
- When php run as Apache Module (mod_php)
- When php run as CGI
- When cgi?d php is run with wrapper (for FastCGI)
Fight Blog Spam with Apache
Fighting Blog Spam with Apache htaccess and other methods.