فهرست منبع

Add .htaccess

Gabriel Badano 4 سال پیش
والد
کامیت
ea4884256e
1فایلهای تغییر یافته به همراه11 افزوده شده و 0 حذف شده
  1. 11 0
      .htaccess

+ 11 - 0
.htaccess

@@ -0,0 +1,11 @@
+RewriteEngine on
+
+#RewriteCond %{HTTPS} !^on$
+#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
+
+# if a directory or a file exists, use it directly
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+
+# otherwise forward it to index.php
+RewriteRule . index.php