FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
metronic-admin-panel-using-codeigniter/.htaccess at master · sourceExp/metronic-admin-panel-using-codeigniter · GitHub
sourceExp
/
metronic-admin-panel-using-codeigniter
Public
forked from
Phate212/metronic-admin-panel-using-codeigniter
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
metronic-admin-panel-using-codeigniter
/
.htaccess
Copy path
More file actions
More file actions
Latest commit
History
History
History
30 lines (25 loc) · 1019 Bytes
Breadcrumbs
metronic-admin-panel-using-codeigniter
/
.htaccess
Copy path
File metadata and controls
30 lines (25 loc) · 1019 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
27
28
29
30
<
IfModule
mod_rewrite.c
>
# Options
Options
-Multiviews
Options
+FollowSymLinks
#Enable mod rewrite
RewriteEngine
On
#the location of the root of your site
#if writing for subdirectories, you would enter /subdirectory
RewriteBase
/linktech
#Removes access to CodeIgniter system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond
%{REQUEST_URI}
^system.*
RewriteRule
^(.*)$
/index.php?/$1
[L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond
%{REQUEST_FILENAME}
!-f
RewriteCond
%{REQUEST_FILENAME}
!-d
#This last condition enables access to the images and css
#folders, and the robots.txt file
RewriteCond
$1
!^(index\.php|images|general|javascript|robots\.txt|js|css|assets|phpinfo\.php)
RewriteRule
^(.*)$
index.php?/$1
[L]
</
IfModule
>
Back
|
FazBrowse Home
|
New Git URL