Commit 220da822 by pupi1985

Remove .htaccess file from repository and ignore it in .gitignore

parent 9cce1605
# Ignore config file in development # Ignore Q2A config file and .htaccess in development
qa-config.php /qa-config.php
qa-cache/*/ /.htaccess
# Ignore cached files
/qa-cache/*/
# Other files # Other files
.DS_Store .DS_Store
......
# In order for the web server to process this file it must be renamed to ".htaccess"
Options -Indexes Options -Indexes
DirectoryIndex index.php DirectoryIndex index.php
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On RewriteEngine On
#RewriteBase / #RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L] RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteCond %{REQUEST_FILENAME} !-f RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L] RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule> </IfModule>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment