Changeset 2648 for cpc/trunk/project/web


Ignore:
Timestamp:
Apr 2, 2012, 2:14:14 PM (9 years ago)
Author:
goya
Message:

kicke les desinscrits avec is_active négatif

Location:
cpc/trunk/project/web
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/web/.htaccess

    r1675 r2648  
    66  # uncomment the following line, if you are having trouble
    77  # getting no_script_name to work
    8   #RewriteBase /
     8  RewriteBase /
     9  RewriteRule ^(.*)\.v\.[0-9]+(\..*)$ $1$2 [QSA,L,E=VERSIONED_FILE:1]
    910
    1011  # we skip all files with .something
     
    1213  #RewriteCond %{REQUEST_URI} !\.html$
    1314  #RewriteRule .* - [L]
     15  RewriteRule ^simplifions-la-loi /dossiers/date [R,L]
     16  RewriteRule ^Simplifions-la-loi-2.0 /dossiers/date [R,L]
     17  RewriteRule ^simplifions-LOPPSI /loi/2271 [R,L]
     18  RewriteRule ^Simplifions-LOPPSI /loi/2271 [R,L]
     19  RewriteRule ^simplifions-loppsi /loi/2271 [R,L]
     20  RewriteRule ^loppsi /loi/2271 [R,L]
     21  RewriteRule ^lopsi /loi/2271 [R,L]
     22  RewriteRule ^LOPPSI /loi/2271 [R,L]
     23  RewriteRule ^LOPSI /loi/2271 [R,L]
     24  RewriteRule ^Grenelle2.0 /loi/2449 [R,L]
     25  RewriteRule ^Grenelle2 /loi/2449 [R,L]
     26  RewriteRule ^Grenelle /loi/2449 [R,L]
     27  RewriteRule ^grenelle2.0 /loi/2449 [R,L]
     28  RewriteRule ^grenelle2 /loi/2449 [R,L]
     29  RewriteRule ^grenelle /loi/2449 [R,L]
     30  RewriteRule ^GrenelleII /loi/2449 [R,L]
     31  RewriteRule ^grenelleII /loi/2449 [R,L]
     32  RewriteRule ^amnesty /loi/951 [R,L]
     33  RewriteRule ^cpi /loi/951 [R,L]
     34  RewriteRule ^retraite /loi/2760 [R,L]
     35  RewriteRule ^Retraite /loi/2760 [R,L]
     36  RewriteRule ^retraites /loi/2760 [R,L]
     37#  RewriteRule ^dossier/ / [R,L]
    1438
    1539  # we check if the .html version is here (caching)
    1640  RewriteRule ^$ index.html [QSA]
    1741  RewriteRule ^([^.]+)$ $1.html [QSA]
    18   RewriteCond %{REQUEST_FILENAME} !-f
     42  RewriteCond %{REQUEST_FILENAME} !-f 
    1943
    2044  # no, so we redirect to our front web controller
     
    2246</IfModule>
    2347
     48Redirect /confiseurs_1001 /confiseurs/2009
     49Redirect /confiseurs_1007 /confiseurs/2010
     50Redirect /confiseurs_temp_1107 /confiseurs/2011
  • cpc/trunk/project/web/backend_dev.php

    r1675 r2648  
    33// this check prevents access to debug front controllers that are deployed by accident to production servers.
    44// feel free to remove this, extend it or make something more sophisticated.
    5 if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1')))
     5if (!in_array(@$_SERVER['HTTP_CF_CONNECTING_IP'], array('127.0.0.1',
     6                '82.225.240.116', //Tangui (Paris)
     7                '88.168.238.200', //Benjamin (Paris))) || !in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1','173.245.49.172',
     8                '82.225.240.116', //Tangui (Paris)
     9                '88.168.238.200', //Benjamin (Paris)
     10                '129.199.114.20', //Benjamin (Paris, ENS)
     11                '77.205.50.174', //Brice
     12                                              '::1', )))
    613{
    7   die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
     14  die('You ('.@$_SERVER['REMOTE_ADDR'].')are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
    815}
    916
  • cpc/trunk/project/web/frontend_dev.php

    r1675 r2648  
    11<?php
    2 
    32// this check prevents access to debug front controllers that are deployed by accident to production servers.
    43// feel free to remove this, extend it or make something more sophisticated.
    5 if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1')))
     4if ( !in_array(@$_SERVER['HTTP_CF_CONNECTING_IP'], array('127.0.0.1',
     5                '82.225.240.116', //Tangui (Paris)
     6                '88.168.238.200', //Benjamin (Paris))) || !in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1',
     7                '82.225.240.116', //Tangui (Paris)
     8                '88.168.238.200', //Benjamin (Paris)
     9                '129.199.114.20', //Benjamin (Paris, ENS)
     10                '145.238.180.6' , // Benjamin Meudon
     11                '88.181.216.59', //Tangui (Nantes)
     12                '80.13.217.126', //Tangui (April)
     13                '88.191.92.80', //Serveur dédié
     14                '78.232.200.105', //Tangui Rennes
     15                '78.29.235.101', //Tangui Bx
     16                '::1')))
    617{
    7   die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
     18//  die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
    819}
    920
  • cpc/trunk/project/web/robots.txt

    r2547 r2648  
    55User-agent: *
    66Disallow: /recherche/
    7 
     7Disallow: /citoyen/photo/samia-lakhal
Note: See TracChangeset for help on using the changeset viewer.