Jheysoon/TADPS/master/.htaccess - Htaccess File

Jheysoon/TADPS/master/.htaccess

#<IfModule mod_expires.c>
#ExpiresActive On
#ExpiresByType image/png "access plus 2 weeks"
#ExpiresByType image/gif "access plus 2 weeks"
#ExpiresByType image/jpeg "access plus 2 weeks"
#ExpiresByType image/jpg "access plus 2 weeks"
#ExpiresByType image/x-icon "access plus 2 weeks"
#</IfModule>
php_value upload_max_filesize 50M
php_value post_max_size 50M
php_value memory_limit 128M
<IfModule mod_rewrite.c>

  RewriteEngine on

  RewriteCond %{ENV:REDIRECT_STATUS} ^$
  RewriteRule ^index.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,L]

  RewriteCond $1 !^(index.php|assets)
  RewriteRule ^(.*)$ /index.php/$1 [L]

</IfModule>

On Github License

Files

Download PDF of Htaccess file
ENV, REDIRECT_STATUS

Comments

Apache