PHP Classes

HTAccess mod_rewrite: Interpret Apache .htaccess to emulate mod_rewrite

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 66%Total: 3,783 All time: 861 This week: 157Up
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: 39
All time rank: 60819 in Russian Federation Russian Federation
Week rank: 563 Up23 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  
This week:0
All time:861
This week:157Up
 User Ratings  
 All time