razzun/vvarsc/New_master/admin/.htaccess
# Use PHP5.4 as default AddHandler application/x-httpd-php54 .php # Disable directory transversal Options All -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