PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   GetMeALatte   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: GetMeALatte
Promote a product to be sold to a crowd
Author: By
Last change:
Date: 2 years ago
Size: 431 bytes
 

Contents

Class file image Download
DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine On # NOTE: We have to rewrite the showitem URL first, before rewriting all requesting below. # Otherwise, this one won't have any effect. RewriteRule ^p/([a-z0-9\.\-_]+)$ index.php?uri=showitem&id=$1 [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php?uri=$1 [QSA,L] </IfModule>