PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Mostafa Abd-El-Hamid   PHP 7 MVC   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP 7 MVC
Framework that uses MVC design pattern under PHP 7
Author: By
Last change:
Date: 8 years ago
Size: 345 bytes
 

Contents

Class file image Download
<IfModule mod_rewrite.c> Options -Indexes Options +FollowSymLinks -MultiViews # Turn mod_rewrite on RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?$1 [L,QSA] RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s(.*)/index\.php [NC] RewriteRule ^ %1 [R=301,L] </IfModule>