SAND-framework/public/.htaccess

36 lines
772 B
ApacheConf
Raw Normal View History

2017-06-13 22:54:16 +02:00
# Apache Server Configs v2.14.0 | MIT License
# https://github.com/h5bp/server-configs-apache
# (!) Using `.htaccess` files slows down Apache, therefore, if you have
# access to the main server configuration file (which is usually called
# `httpd.conf`), you should add this logic there.
#
# https://httpd.apache.org/docs/current/howto/htaccess.html.
<IfModule mod_rewrite.c>
# (1)
RewriteEngine On
# (2)
Options +FollowSymlinks
# (3)
# Options +SymLinksIfOwnerMatch
# (4)
#RewriteBase /directory/public/
#RewriteBase /
2017-06-13 22:54:16 +02:00
# (5)
# RewriteOptions <options>
# (6)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php [L]
RewriteRule ^$ /index.php [L]
2017-06-13 22:54:16 +02:00
</IfModule>