Skip to content

Commit

Permalink
[ADD] .htaccess file for security purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahi2 committed Dec 9, 2019
1 parent 0f5c65a commit 37f7318
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Options All -Indexes

RewriteEngine On


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

RewriteRule ^(.+)$ index.php?page=$1 [QSA,L]

0 comments on commit 37f7318

Please sign in to comment.