PHP Classes

Url Rewriter: Redirect requests according URL rewriting rules

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-11-18 (7 years ago) RSS 2.0 feedStarStarStar 54%Total: 4,540 All time: 572 This week: 1,323Down
Version License PHP version Categories  
url_rewriter 1.0BSD License3.0HTTP
Description Author  

This class can be used to redirect requests based on URL rewriting rules.

It can check whether the current request URL matches one or more rules.

If one of the defined rules is matched, the class determines the path of a PHP script that will handle the request and executes that script using the PHP require command.

If none of the rules matches, the class include the default error script and returns the 404 status code to the browser.

Picture of Cesar D. Rodas
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 37 packages by
Country: Paraguay Paraguay
Age: 27
All time rank: 71 in Paraguay Paraguay
Week rank: 38 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 24x

Winner: 5x

  Files folder image Files  
File Role Description
Files folder imageexample-urlrewriter (2 files)
Accessible without login Plain text file .htaccess Data Apache Regular expression
Accessible without login Plain text file readme.txt Doc. Documentation
Accessible without login Plain text file url_handler.php Example Example page
Plain text file url_rewriter.php Class Main class

  Files folder image Files  /  example-urlrewriter  
File Role Description
  Accessible without login Plain text file error.php Example Example page
  Accessible without login Plain text file index.php Example Example page

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:4,540All time:572
 This week:0This week:1,323Down
User Ratings User Comments (2)  
 All time