PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   Minimalist PHP Sales Site   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Minimalist PHP Sales Site
Implement a sales site from configuration files
Author: By
Last change:
Date: 4 months ago
Size: 344 bytes
 

Contents

Class file image Download
<IfModule mod_negotiation.c> # Disable Directory Browsing Options -MultiViews -Indexes </IfModule> Options +FollowSymLinks RewriteEngine On RewriteBase / # That's the important part :) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Set all requests to the index.php file RewriteRule ^(.*)$ index.php [QSA]