PHP Classes

PHP URL Rewrite: Generate Apache configuration to rewrite URLs

Recommend this page to a friend!

  Author Author  
Picture of Pierre-Henry Soria
Name: Pierre-Henry Soria <contact>
Classes: 40 packages by
Country: United Kingdom
Age: 32
All time rank: 39917 in United Kingdom
Week rank: 17 Up1 in United Kingdom Up
Innovation award
Innovation award
Nominee: 15x

Winner: 3x


  Detailed description   Download Download .zip .tar.gz  
This package can generate Apache configuration to rewrite URLs.

It can take a URL as a parameter and parses the URL to extract its parts.

The class can also generate Apache configuration to perform several types of URL rewriting that can be used by Web servers using Apache.

  Classes of Pierre-Henry Soria  >  PHP URL Rewrite  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog (1)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP URL Rewrite
Base name: url-rewrite
Description: Generate Apache configuration to rewrite URLs
Version: -
PHP version: 5
License: GNU General Public License (GPL)
All time users: 148 users
All time rank: 9049
Week users: 1 user
Week rank: 291 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Configuration Configuration formats parsing and generation View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
November 2022
Number 2
Many Web sites serve site pages using URLs that briefly describe the purpose of the pages in a way that is easy to understand for the users of those sites.

With easy-to-understand URLs, the users can decide if the pages may be interesting even before they click the links that point to the pages' URLs.

A good part of the PHP sites uses the Apache Web server with the mod_rewrite module to handle the access to the pages with those URLs to the actual PHP scripts that generate the response to the entrance to those pages.

The configuration of the Apache mod_rewrite module may not be easy to create because it requires a good understanding of mod_rewrite directives.

This package provides a simplification of the way the mod_rewrite configuration can be created.

It takes a Web site page URL and suggests several configuration formats that you can use to configure the Apache mod_write module for your site. You can use the configuration format that better suits your PHP application Web site URL structure.

Manuel Lemos

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file license.txt Doc. Documentation
Plain text file Rewrite.class.php Class Class source
Accessible without login Plain text file style.css Data Auxiliary data

Download Download all files: url-rewrite.tar.gz url-rewrite.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file license.txt Doc. Documentation
Plain text file Rewrite.class.php Class Class source
Accessible without login Plain text file style.css Data Auxiliary data

Download Download all files: url-rewrite.tar.gz url-rewrite.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.