File tree 1 file changed +19
-4
lines changed
1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change
1
+ # Apache configuration file
2
+ # http://httpd.apache.org/docs/2.2/mod/quickreference.html
3
+
4
+ # Note: ".htaccess" files are an overhead for each request. This logic should
5
+ # be placed in your Apache config whenever possible.
6
+ # http://httpd.apache.org/docs/2.2/howto/htaccess.html
7
+
8
+ # Turning on the rewrite engine is necessary for the following rules and
9
+ # features. "+FollowSymLinks" must be enabled for this to work symbolically.
10
+
1
11
<IfModule mod_rewrite.c >
2
- RewriteEngine on
12
+ Options +FollowSymLinks
13
+ RewriteEngine On
14
+ </IfModule >
3
15
4
- RewriteCond %{REQUEST_FILENAME} !-f
5
- RewriteCond %{REQUEST_FILENAME} !-d
16
+ # For all files not found in the file system, reroute the request to the
17
+ # "index.php" front controller, keeping the query string intact
6
18
7
- RewriteRule ^(.*)$ index.php/$1 [L]
19
+ <IfModule mod_rewrite.c >
20
+ RewriteCond %{REQUEST_FILENAME} !-f
21
+ RewriteCond %{REQUEST_FILENAME} !-d
22
+ RewriteRule ^(.*)$ index.php/$1 [L]
8
23
</IfModule >
You can’t perform that action at this time.
0 commit comments