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,779 All time: 856 This week: 262Up
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: 37
All time rank: 60419 in Russian Federation Russian Federation
Week rank: 669 Down17 in Russian Federation Russian Federation Up


  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:856
This week:262Up
 User Ratings  
 All time

For more information send a message to info at phpclasses dot org.