Reorder the .htaccess to make it more consistant
This commit is contained in:
parent
eac1837e5e
commit
058fb303b3
12
.htaccess
12
.htaccess
|
@ -13,6 +13,12 @@ DirectoryIndex index.php
|
||||||
#XSendFile On
|
#XSendFile On
|
||||||
#XSendFileAllowAbove 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
|
# If you want to use user based configuration with
|
||||||
# apache 2.4 + php-fpm enable this
|
# apache 2.4 + php-fpm enable this
|
||||||
|
@ -20,12 +26,6 @@ DirectoryIndex index.php
|
||||||
###########################################
|
###########################################
|
||||||
#SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
|
#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>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule ^download/(\d*)/(\d*)/.*\.kepub\.epub$ fetch.php?data=$1&db=$2&type=epub [L]
|
RewriteRule ^download/(\d*)/(\d*)/.*\.kepub\.epub$ fetch.php?data=$1&db=$2&type=epub [L]
|
||||||
|
|
Loading…
Reference in a new issue