forked from lunr-php/lunr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
15 lines (14 loc) · 839 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# SPDX-FileCopyrightText: Copyright 2010 M2mobi B.V., Amsterdam, The Netherlands
# SPDX-FileCopyrightText: Copyright 2022 Move Agency Group B.V., Zwolle, The Netherlands
# SPDX-License-Identifier: CC0-1.0
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [S=40]
RewriteRule ([^/]+)/statics/[.]*$ - [PT]
RewriteRule ([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ /index.php?controller=$1&method=$2¶m1=$3¶m2=$4¶m3=$5 [QSA,L]
RewriteRule ([^/]+)/([^/]+)/([^/]+)/([^/]+)/?$ /index.php?controller=$1&method=$2¶m1=$3¶m2=$4 [QSA,L]
RewriteRule ([^/]+)/([^/]+)/([^/]+)/?$ /index.php?controller=$1&method=$2¶m1=$3 [QSA,L]
RewriteRule ([^/]+)/([^/]+)/?$ /index.php?controller=$1&method=$2 [QSA,L]
RewriteRule ([^/]+)/?$ /index.php?controller=$1 [QSA,L]