Should fix url rewriting with multi database. re #40
Ten commit jest zawarty w:
rodzic
d01b23b615
commit
ad115f08c3
2 zmienionych plików z 8 dodań i 4 usunięć
|
|
@ -19,8 +19,10 @@
|
|||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
RewriteRule ^download/(.*)/.*\.kepub\.epub$ fetch.php?data=$1&type=epub [L]
|
||||
RewriteRule ^download/(.*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
|
||||
RewriteRule ^download/(\d*)/(\d*)/.*\.kepub\.epub$ fetch.php?data=$1&db=$2&type=epub [L]
|
||||
RewriteRule ^download/(\d*)/(\d*)/.*\.(.*)$ fetch.php?data=$1&db=$2&type=$3 [L]
|
||||
RewriteRule ^download/(\d*)/.*\.kepub\.epub$ fetch.php?data=$1&type=epub [L]
|
||||
RewriteRule ^download/(\d*)/.*\.(.*)$ fetch.php?data=$1&type=$2 [L]
|
||||
</IfModule>
|
||||
|
||||
###########################################
|
||||
|
|
|
|||
Ładowanie…
Dodaj tabelę
Add a link
Odniesienie w nowym zgłoszeniu