Browse Source

Reorder the .htaccess to make it more consistant

master
Sébastien Lucas 8 years ago
parent
commit
058fb303b3
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      .htaccess

+ 6
- 6
.htaccess View File

@@ -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]


Loading…
Cancel
Save