PHP Classes

File: .htaccess

Recommend this page to a friend!
  Classes of Mark Richards   CliqonV4   .htaccess   Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CliqonV4
Framework with modules to build Web applications
Author: By
Last change:
Date: 6 years ago
Size: 415 bytes
 

Contents

Class file image Download
# disable directory browsing Options All -Indexes Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.htm$ $1.php [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php) RewriteRule ^(.*)$ /index.php/$1 [L] php_value log_errors 1 php_value error_log /log/php-error.log FallbackResource /index.php # RewriteRule ^subdirectory/(.*)$ /$1 [R=301,NC,L]