source: cpc/trunk/project/web/.htaccess @ 2648

Last change on this file since 2648 was 2648, checked in by goya, 9 years ago

kicke les desinscrits avec is_active négatif

File size: 1.7 KB
Line 
1Options +FollowSymLinks +ExecCGI
2
3<IfModule mod_rewrite.c>
4  RewriteEngine On
5
6  # uncomment the following line, if you are having trouble
7  # getting no_script_name to work
8  RewriteBase /
9  RewriteRule ^(.*)\.v\.[0-9]+(\..*)$ $1$2 [QSA,L,E=VERSIONED_FILE:1]
10
11  # we skip all files with .something
12  #RewriteCond %{REQUEST_URI} \..+$
13  #RewriteCond %{REQUEST_URI} !\.html$
14  #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]
38
39  # we check if the .html version is here (caching)
40  RewriteRule ^$ index.html [QSA]
41  RewriteRule ^([^.]+)$ $1.html [QSA]
42  RewriteCond %{REQUEST_FILENAME} !-f
43
44  # no, so we redirect to our front web controller
45  RewriteRule ^(.*)$ index.php [QSA,L]
46</IfModule>
47
48Redirect /confiseurs_1001 /confiseurs/2009
49Redirect /confiseurs_1007 /confiseurs/2010
50Redirect /confiseurs_temp_1107 /confiseurs/2011
Note: See TracBrowser for help on using the repository browser.