Reorder the .htaccess to make it more consistant

This commit is contained in:
Sébastien Lucas 2015-10-14 17:54:26 +02:00
джерело eac1837e5e
коміт 058fb303b3
1 змінених файлів з 6 додано та 6 видалено

@ -13,6 +13,12 @@ DirectoryIndex index.php
#XSendFile On
#XSendFileAllowAbove on
###########################################
# On WAMP one user had to add this line in his httpd.conf
# None of the above was working
###########################################
#XSendFilePath <YourCalibrePath>
###########################################
# If you want to use user based configuration with
# apache 2.4 + php-fpm enable this
@ -20,12 +26,6 @@ DirectoryIndex index.php
###########################################
#SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
###########################################
# On WAMP one user had to add this line in his httpd.conf
# None of the abose was working
###########################################
#XSendFilePath <YourCalibrePath>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^download/(\d*)/(\d*)/.*\.kepub\.epub$ fetch.php?data=$1&db=$2&type=epub [L]