keltanas/sfcms-sandbox/master/.htaccess - Htaccess File

keltanas/sfcms-sandbox/master/.htaccess

AddDefaultCharset UTF-8

Options +FollowSymlinks
Options -MultiViews
Options -Indexes

php_flag  display_errors            on
php_value error_reporting           15

php_flag    xdebug.auto_trace       off
php_flag    xdebug.remote_enable    on

php_flag session.cookie_httponly    off
php_flag session.use_only_cookies   on

php_value session.name              "sfid"

php_value magic_quotes_gpc          off
php_value register_globals          off

RewriteEngine on
RewriteBase /

# Переписываем пути, если есть подозрение, что идет обращение к странице сайта
RewriteCond %{REQUEST_FILENAME} !(php)$
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d

RewriteRule ([^?]*)$ /index_dev.php/$1 [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, SCRIPT_FILENAME

Comments

Apache