razzun/vvarsc/New_master/.htaccess - Htaccess File

razzun/vvarsc/New_master/.htaccess

# Use PHP5.4 as default
AddHandler application/x-httpd-php54 .php

# Disable directory transversal
# For security reasons, Option all cannot be overridden.
#Options All -Indexes
Options ExecCGI Includes IncludesNOEXEC SymLinksIfOwnerMatch -Indexes
RedirectMatch 404 /..*$

# turn rewriting on
RewriteEngine on

#RewriteMap memmap txt:/www/vvarnc/vvarsc/map.txt

# get variables in this order, [object], [object,action], [object,action,selection]
RewriteRule ^([^/.]+)/?$ /index.php?page=$1 [L]
RewriteRule ^([^/.]+)/([^/.]+)/?$ /index.php?page=$1&pid=$2 [L]
#RewriteRule ^([^/.]+)/admin/?$ /admin/index.php?page=$1&pid=$2 [L]
#RewriteRule ^([^/.]+)/([^/.]+)/([^/.]+)/?$ /index.php?object=$1&action=$2&selection=$3 [L,NC,QSA]

On Github License

Files

Download PDF of Htaccess file

Comments

Apache