mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-15 20:49:41 +01:00
move rewrite rules to its own file.
This commit is contained in:
27
htaccess.txt
27
htaccess.txt
@@ -1,25 +1,10 @@
|
|||||||
#start Kleeja rules
|
#start Kleeja rules
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
RewriteEngine On
|
||||||
#RewriteBase /
|
RewriteBase /
|
||||||
RewriteRule ^index.html$ index.php
|
RewriteRule ^index\.php$ - [L]
|
||||||
RewriteRule ^download([0-9]*).html$ do.php?id=$1
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule ^downloadf-(.*)-([a-zA-Z0-9_-]*).html$ do.php?filename=$1&x=$2
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule ^down-([0-9]*).html$ do.php?down=$1
|
RewriteRule . /serve.php [L]
|
||||||
RewriteRule ^downf-(.*)-([a-zA-Z0-9_-]*).html$ do.php?downf=$1&x=$2
|
|
||||||
RewriteRule ^downex-([0-9]*).html$ do.php?down=$1
|
|
||||||
RewriteRule ^downexf-(.*)-([a-zA-Z0-9_-]*).html$ do.php?downexf=$1&x=$2
|
|
||||||
RewriteRule ^thumb([0-9]*).html$ do.php?thmb=$1
|
|
||||||
RewriteRule ^imagef-(.*)-([a-zA-Z0-9_-]*).html$ do.php?imgf=$1&x=$2
|
|
||||||
RewriteRule ^thumbf-(.*)-([a-zA-Z0-9_-]*).html$ do.php?thmbf=$1&x=$2
|
|
||||||
RewriteRule ^image([0-9]*).html$ do.php?img=$1
|
|
||||||
RewriteRule ^del([a-zA-Z0-9_-]*).html$ go.php?go=del&cd=$1
|
|
||||||
RewriteRule ^(call|guide|rules|stats|report).html$ go.php?go=$1
|
|
||||||
RewriteRule ^report[_-]([0-9]*).html$ go.php?go=report&id=$1
|
|
||||||
RewriteRule ^(filecp|profile|fileuser|register|login|logout).html$ ucp.php?go=$1
|
|
||||||
RewriteRule ^fileuser[_-]([0-9]+).html$ ucp.php?go=fileuser&id=$1
|
|
||||||
RewriteRule ^fileuser[_-]([0-9]+)-([0-9]+).html$ ucp.php?go=fileuser&id=$1&page=$2
|
|
||||||
#for future plugins
|
|
||||||
RewriteRule ^go-(.*).html$ go.php?go=$1
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
#end Kleeja rules
|
#end Kleeja rules
|
||||||
Reference in New Issue
Block a user