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 60%Total: 3,787 This week: 1All time: 861 This week: 560Up
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: 40
All time rank: 60819 in Russian Federation Russian Federation
Week rank: 411 Up22 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,787
This week:1
All time:861
This week:560Up
 User Ratings  
 
 All time
Utility:90%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1157