File: .htaccess

Recommend this page to a friend!
  Classes of adam berger  >  Separation Database Queries  >  .htaccess  >  Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Separation Database Queries
Database access trait using PDO
Author: By
Last change:
Date: 3 years ago
Size: 620 bytes
 

Contents

Class file image Download
RewriteEngine On

Options FollowSymLinks

<Files *.htaccess>
Deny from all
</Files>

RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]

RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]

RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]

RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})

RewriteCond %{REQUEST_URI} !^/index\.php
RewriteRule .* index.php [F]

RemoveHandler .html
AddType application/x-httpd-php .html

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?akcja=$1 [L]

For more information send a message to info at phpclasses dot org.