-
Notifications
You must be signed in to change notification settings - Fork 1
/
.htaccess
26 lines (25 loc) · 1.11 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# GetFoundFirst.com Reporting Engine
# Copyright 2013 ndisp.com and getfoundfirst.com
#
# This application is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation; either
# version 3 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this code; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
RewriteEngine on
# requests to files in the img/ subdirectory pass straight through
RewriteCond %{REQUEST_URI} !img/
# once the request has been rewritten REQUEST_URI = "control/router.php?something"
RewriteCond %{REQUEST_URI} !control/router.php
# rewrite all requests to go through control/router.php
RewriteRule (.*) control/router.php?$1 [L]