Add php htaccess file

This commit is contained in:
Mamadou DIOP 2015-12-05 02:28:39 +01:00
parent 17900e49f6
commit 5c0fe441a8
1 changed files with 6 additions and 0 deletions

6
website/htaccess Normal file
View File

@ -0,0 +1,6 @@
RewriteEngine On
RewriteCond %{HTTP_HOST} ^doubango\.org [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.doubango.org/$1 [R,L]
RewriteRule ^click2dial/u/(.*)$ https://www.doubango.org/click2dial/index.html?u=$1 [L]
RewriteRule ^click2dial/a/(.*)$ https://www.doubango.org/click2dial/index.html?a=$1 [L]