From 8da6e39975cdd860352b19027ac0fcfd165d6ca1 Mon Sep 17 00:00:00 2001 From: Mamadou DIOP Date: Sat, 5 Dec 2015 02:34:14 +0100 Subject: Rename ".htaccess" file --- website/.htaccess | 6 ++++++ website/htaccess | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 website/.htaccess delete mode 100644 website/htaccess (limited to 'website') diff --git a/website/.htaccess b/website/.htaccess new file mode 100644 index 0000000..740e433 --- /dev/null +++ b/website/.htaccess @@ -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] \ No newline at end of file diff --git a/website/htaccess b/website/htaccess deleted file mode 100644 index 740e433..0000000 --- a/website/htaccess +++ /dev/null @@ -1,6 +0,0 @@ -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] \ No newline at end of file -- cgit v1.1