35 lines
734 B
ApacheConf
35 lines
734 B
ApacheConf
# 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 /fiches3pro/public/
|
|
#RewriteBase /
|
|
|
|
# (5)
|
|
# RewriteOptions <options>
|
|
|
|
# (6)
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
#RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule . index.php [L]
|
|
|
|
</IfModule>
|
|
|