Jelajahi Sumber

add rewrite base directive

theshka 10 tahun lalu
induk
melakukan
a335eec82a
1 mengubah file dengan 7 tambahan dan 7 penghapusan
  1. 7 7
      .htaccess

+ 7 - 7
.htaccess

@@ -1,11 +1,11 @@
-<IfModule mod_rewrite.c>                    # Check for mod_rewite module.
-    RewriteEngine On                        # Turn mod_rewrite module on
-    #RewriteBase /                          # May be required to access sub-directories
-    RewriteCond %{REQUEST_FILENAME} !-f     # Any request that is not a file,
-    RewriteCond %{REQUEST_FILENAME} !-d     # Any request that is not a directory,
-    RewriteRule . index.php [L]             # Reroute the request to index.php
+<IfModule mod_rewrite.c>
+    RewriteEngine On
+    #May be required to access sub-directories
+    #RewriteBase /
+    RewriteCond %{REQUEST_FILENAME} !-f
+    RewriteCond %{REQUEST_FILENAME} !-d
+    RewriteRule . index.php [L]
 </IfModule>
 </IfModule>
 
 
-
 # Prevent file browsing
 # Prevent file browsing
 Options -Indexes
 Options -Indexes