We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cce160 commit 220da82Copy full SHA for 220da82
3 files changed
.gitignore
@@ -1,6 +1,9 @@
1
-# Ignore config file in development
2
-qa-config.php
3
-qa-cache/*/
+# Ignore Q2A config file and .htaccess in development
+/qa-config.php
+/.htaccess
4
+
5
+# Ignore cached files
6
+/qa-cache/*/
7
8
# Other files
9
.DS_Store
.htaccess
.htaccess-example
@@ -0,0 +1,16 @@
+# In order for the web server to process this file it must be renamed to ".htaccess"
+Options -Indexes
+DirectoryIndex index.php
+<IfModule mod_rewrite.c>
+ RewriteEngine On
+ #RewriteBase /
10
+ RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
11
+ RewriteRule . %1/%2 [R=301,L]
12
13
+ RewriteCond %{REQUEST_FILENAME} !-f
14
+ RewriteCond %{REQUEST_FILENAME} !-d
15
+ RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
16
+</IfModule>
0 commit comments