diff --git a/.htaccess b/.htaccess index 108e46c..9a18ad1 100644 --- a/.htaccess +++ b/.htaccess @@ -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 + ########################################### # 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 - RewriteEngine on RewriteRule ^download/(\d*)/(\d*)/.*\.kepub\.epub$ fetch.php?data=$1&db=$2&type=epub [L]