fboes/elite-trader/master/.htaccess - Htaccess File

fboes/elite-trader/master/.htaccess

AddType text/cache-manifest .appcache
AddType application/x-web-app-manifest+json .webapp
AddType application/font-woff .woff
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType image/svg+xml .svg .svgz
AddEncoding gzip svgz
# DirectoryIndex index.html

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^(LICENSE.txt|README.md|package.json|Gruntfile.js|config.rb)$ - [F,L]
  RewriteRule ^(.git|app/|setup/|views/) - [F,L]
  RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::2$
  RewriteRule ^(.*) - [E=BASE:%1]
  RewriteCond %{ENV:REDIRECT_STATUS} ^$
  RewriteRule ^index.php(/(.*)|$) %{ENV:BASE}/$2 [R=301,L]
  RewriteRule ^$ %{ENV:BASE}/index.php [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule (.+)$ %{ENV:BASE}/index.php?p=$1& [L,QSA]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
ENV, REDIRECT_STATUS, REQUEST_FILENAME, REQUEST_URI

Comments

Apache