JanTvrdik/NetteExtras/master/Examples/www/.htaccess - Htaccess File

JanTvrdik/NetteExtras/master/Examples/www/.htaccess

# Apache configuration file (see httpd.apache.org/docs/2.2/mod/quickreference.html)

# disable directory listing
Options -Indexes

# allows symbolic links in this directory
Options +FollowSymLinks

# enable cool URL
<IfModule mod_rewrite.c>
  RewriteEngine On
  # RewriteBase /

  # front controller
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule !.(pdf|js|ico|gif|jpg|png|css|rar|zip|tar.gz)$ index.php [L]
</IfModule>

# default charset should be UTF-8
AddDefaultCharset utf-8

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache