Changeset 2649 for cpc/trunk/project/web


Ignore:
Timestamp:
Apr 4, 2012, 12:30:37 AM (9 years ago)
Author:
goya
Message:

Revert de r2648

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

Legend:

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

    r2648 r2649  
    66  # uncomment the following line, if you are having trouble
    77  # getting no_script_name to work
    8   RewriteBase /
    9   RewriteRule ^(.*)\.v\.[0-9]+(\..*)$ $1$2 [QSA,L,E=VERSIONED_FILE:1]
     8  #RewriteBase /
    109
    1110  # we skip all files with .something
     
    1312  #RewriteCond %{REQUEST_URI} !\.html$
    1413  #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]
    3814
    3915  # we check if the .html version is here (caching)
    4016  RewriteRule ^$ index.html [QSA]
    4117  RewriteRule ^([^.]+)$ $1.html [QSA]
    42   RewriteCond %{REQUEST_FILENAME} !-f 
     18  RewriteCond %{REQUEST_FILENAME} !-f
    4319
    4420  # no, so we redirect to our front web controller
     
    4622</IfModule>
    4723
    48 Redirect /confiseurs_1001 /confiseurs/2009
    49 Redirect /confiseurs_1007 /confiseurs/2010
    50 Redirect /confiseurs_temp_1107 /confiseurs/2011
  • cpc/trunk/project/web/backend_dev.php

    r2648 r2649  
    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['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', )))
     5if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1')))
    136{
    14   die('You ('.@$_SERVER['REMOTE_ADDR'].')are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
     7  die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
    158}
    169
  • cpc/trunk/project/web/frontend_dev.php

    r2648 r2649  
    11<?php
     2
    23// this check prevents access to debug front controllers that are deployed by accident to production servers.
    34// feel free to remove this, extend it or make something more sophisticated.
    4 if ( !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')))
     5if (!in_array(@$_SERVER['REMOTE_ADDR'], array('127.0.0.1', '::1')))
    176{
    18 //  die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
     7  die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
    198}
    209
  • cpc/trunk/project/web/robots.txt

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