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,745 This week: 1All time: 834 This week: 1,137Down
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: 32
All time rank: 57517 in Russian Federation Russian Federation
Week rank: 898 Down28 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,745All time:834
 This week:1This week:1,137Down
 User Ratings  
 All time