birkof/demo-task-manager/master/public/.htaccess - Htaccess File


# Disable PageSpeed module
<IfModule pagespeed_module>
    ModPagespeed off

php_value allow_url_fopen on
php_value default_charset utf-8
php_value short_open_tag Off
php_value expose_php Off
php_value zend.ze1_compatibility_mode off
php_value register_argc_argv Off
php_value register_globals Off
php_value always_populate_raw_post_data Off
php_value ignore_repeated_errors On
php_value ignore_repeated_source On
php_value session.use_cookies 1
php_value session.use_only_cookies 0
php_value session.use_trans_sid 0

php_value upload_max_filesize 64M
php_value memory_limit 256M
php_value post_max_size 64M

php_value sockets.use_system_read 1
php_value default_socket_timeout 3600
php_value max_execution_time 3600
php_value max_input_time 3600
php_value set_time_limit 3600

php_value log_errors On
php_value display_errors On
php_value html_errors On

# Enable rewrite engine and route requests to framework
RewriteEngine On

# Some servers require you to specify the `RewriteBase` directive
# In such cases, it should be the path (relative to the document root)
# containing this .htaccess file
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L,QSA,E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

On Github License


Download PDF of Htaccess file