]> _ Git - physioassist.git/commitdiff
#simeox Whitelist Paris and Montpellier IP addresses for development site and fix...
authorstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 4 May 2016 09:38:03 +0000 (09:38 +0000)
committerstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 4 May 2016 09:38:03 +0000 (09:38 +0000)
.htaccess
framework/application/configs/application.ini

index c81d5778434a72e0574a8906fe8ddc9e40d5ed08..8b5d71d4b2b2603dca64864c9db90725d2013304 100644 (file)
--- 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
index 4890a58aa79099045f9963132d06f75b494d5558..04edf79306d7aa64cf0b6f105ed9f29870d8e359 100644 (file)
@@ -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