PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Adrian M   PHP Routing without a Framework   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Routing without a Framework
Register functions to handle HTTP requests by path
Author: By
Last change:
Date: 1 year ago
Size: 199 bytes
 

Contents

Class file image Download
Options -Indexes RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^ - [R=404,L] #RewriteRule ^ - [R=403,L] #ErrorDocument 404 #ErrorDocument 403