PageRenderTime 49ms CodeModel.GetById 33ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/.htaccess

http://bitstopdev-hostedqueuesys.googlecode.com/
#! | 26 lines | 22 code | 4 blank | 0 comment | 0 complexity | c15656b9e78d70531d5b3db06b04f59a MD5 | raw file
Possible License(s): Unlicense
 1<IfModule mod_rewrite.c>
 2RewriteEngine On
 3RewriteBase /queue/
 4
 5#Removes access to the system folder by users.
 6#Additionally this will allow you to create a System.php controller,
 7#previously this would not have been possible.
 8#'system' can be replaced if you have renamed your system folder.
 9RewriteCond %{REQUEST_URI} ^system.*
10RewriteRule ^(.*)$ /index.php/$1 [L]
11
12#Checks to see if the user is attempting to access a valid file,
13#such as an image or css document, if this isn't true it sends the
14#request to index.php
15RewriteCond %{REQUEST_FILENAME} !-f
16RewriteCond %{REQUEST_FILENAME} !-d
17RewriteRule ^(.*)$ index.php/$1 [L]
18</IfModule>
19
20<IfModule !mod_rewrite.c>
21# If we don't have mod_rewrite installed, all 404's
22# can be sent to index.php, and everything works as normal.
23# Submitted by: ElliotHaughin
24
25ErrorDocument 404 /index.php
26</IfModule>