jbanety/etdcashflow/master/www/.htaccess
##
# @package EtdInterfaces
#
# @version 0.0.1
# @copyright Copyright (C) 2014 ETD Solutions, SARL Etudoo. Tous droits réservés.
# @license http://etd-solutions.com/LICENSE
# @author ETD Solutions http://etd-solutions.com
##
###########################################
# ======= Enable the Rewrite Engine =======
RewriteEngine On
###########################################
###########################################
# ======= No directory listings =======
IndexIgnore *
Options +FollowSymLinks All -Indexes
###########################################
###########################################
# ======== Remove multiple slashes ========
RewriteCond %{HTTP_HOST} !=""
RewriteCond %{THE_REQUEST} ^[A-Z]+s//+(.*)sHTTP/[0-9.]+$ [OR]
RewriteCond %{THE_REQUEST} ^[A-Z]+s(.*/)/+sHTTP/[0-9.]+$
RewriteRule .* http://%{HTTP_HOST}/%1 [R=301,L]
###########################################
###########################################
# ======== SEF URL Routing ========
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
###########################################
On Github License
Files
Download PDF of Htaccess file