megaket4up/ket4up.ru/master/public_html/.htaccess - Htaccess File

megaket4up/ket4up.ru/master/public_html/.htaccess

#
#
# Copyright (C) 2006-2014 Next Generation CMS (http://ngcms.ru)
# Name: .htaccess
# Description: mod_rewrite htaccess file
# Author: NGCMS project team
#

DirectoryIndex index.php

<files .htaccess>
order allow,deny 
deny from all
</files>

php_flag register_globals off
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
php_flag magic_quotes_sybase off
php_value session.use_trans_sid 0

RewriteEngine On
#RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [S=35]

# Editable links
RewriteRule ^.+$ index.php?$1 [QSA,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache