PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of akeel   F3A   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: F3A
PHP Web development framework like Laravel lite
Author: By
Last change:
Date: 2 years ago
Size: 326 bytes
 

Contents

Class file image Download
# Disable directory browsing Options -Indexes # re-route all our request to index.php RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ ./index.php?url=$1 [NC,L,QSA] #force https #RewriteCond %{HTTPS} !=on #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]