PHP Classes

HTAccess mod_rewrite: Interpret Apache .htaccess to emulate mod_rewrite

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-12 (9 years ago) RSS 2.0 feedStarStarStarStar 66%Total: 3,738 This week: 2All time: 833 This week: 663Up
Version License Categories  
htaccess_emulation 1.0.0GNU General Publi...HTTP, Configuration
Description Author  

This class can be used to interpret a subset Apache directives that can be defined in .htaccess configuration files.

It takes as parameter the directive lines of configuration of an .htaccess file to interpret and process the directives.

Currently it only supports the directives RewriteBase and RewriteRule of the mod_rewrite Apache module.

The class can take the request URL and rewrite it, storing the resulting request parameters in a class variable.

Picture of Vladimir S. Bredihin
Name: Vladimir S. Bredihin <contact>
Classes: 3 packages by
Country: Russian Federation Russian Federation
Age: 31
All time rank: 57316 in Russian Federation Russian Federation
Week rank: 620 Down20 in Russian Federation Russian Federation Down

  Files folder image Files  
File Role Description
Plain text file htaccess.class.php Class htaccess emulator
Accessible without login Plain text file htaccess.example.php Example Example htaccess emulator

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,738All time:833
 This week:2This week:663Up
 User Ratings  
 All time