From: stephen@cubedesigners.com Date: Wed, 4 May 2016 09:38:03 +0000 (+0000) Subject: #simeox Whitelist Paris and Montpellier IP addresses for development site and fix... X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=84efe66a6da93b86f089c3e7a2f64e5875b8ddf8;p=physioassist.git #simeox Whitelist Paris and Montpellier IP addresses for development site and fix .htaccess redirection so it doesn't hijack the development URLs. --- diff --git a/.htaccess b/.htaccess index c81d577..8b5d71d 100644 --- a/.htaccess +++ b/.htaccess @@ -24,7 +24,7 @@ RewriteEngine on RewriteBase / # Redirection to www. subdomain - RewriteCond %{HTTP_HOST} !physioassist.com$ + RewriteCond %{HTTP_HOST} ^physioassist.com$ RewriteRule ^(.*)$ http://www.physioassist.com/$1 [R=301,L] # Protect framework diff --git a/framework/application/configs/application.ini b/framework/application/configs/application.ini index 4890a58..04edf79 100644 --- a/framework/application/configs/application.ini +++ b/framework/application/configs/application.ini @@ -74,4 +74,6 @@ locales.en = en.simeox.dev.cubedesigners.com webhost = simeox.dev.cubedesigners.com httpauth.username = physio -httpauth.password = assist2016z \ No newline at end of file +httpauth.password = assist2016z +httpauth.ip_whitelist[] = 81.57.231.18 +httpauth.ip_whitelist[] = 82.216.164.184 \ No newline at end of file