4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-14 13:16:37 +00:00
AzuraCast/.htaccess
2014-02-21 03:25:10 -06:00

26 lines
553 B
ApacheConf

RewriteEngine on
Options -Indexes
Options +FollowSymLinks
DirectoryIndex index.php
# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value short_open_tag 1
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
# Forward all requests that are not existing files to index.php
RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php [L,QSA]
</IfModule>