%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/alliance/domains/sedl.alnetis.fr/public_html/
Upload File :
Create Path :
Current File : /home/alliance/domains/sedl.alnetis.fr/public_html/.htaccess

Options +SymLinksifOwnerMatch


RewriteEngine on



RewriteEngine on
RewriteCond %{HTTP_HOST} !=localhost    
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]


<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^.*ClaudeBot.*$
RewriteCond %{REQUEST_URI} !robots\.txt
RewriteRule .* http://www.anthropic.com [R,L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^.*SemrushBot.*$
RewriteCond %{REQUEST_URI} !robots\.txt
RewriteRule .* http://www.semrush.com [R,L]
</IfModule>	

# P :

RewriteRule ^fr/$   index.php?lang=fr [QSA,L]
RewriteRule ^en/$   index.php?lang=en [QSA,L]
RewriteRule ^(.*)/([0-9]+)-(.*)/print/([0-9]+)-(.*).html$   p-page_print.php?lang=$1&sect=$2&permsect=$3&id=$4&permalien=$5 [QSA,L]
RewriteRule ^(.*)/([0-9]+)-(.*)/2-([0-9]+)-(.*).html$   p-page2.php?lang=$1&sect=$2&permsect=$3&id=$4&permalien=$5 [QSA,L]
RewriteRule ^(.*)/([0-9]+)-(.*)/([0-9]+)-(.*).html$   p-page.php?lang=$1&sect=$2&permsect=$3&id=$4&permalien=$5 [QSA,L]
RewriteRule ^(.*)/([0-9]+)-(.*)/archives/$   p-archives.php?lang=$1&id=$2&permalien=$3 [QSA,L]
RewriteRule ^(.*)/archives/$   p-archives.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/print/([0-9]+)-(.*)/$   p-section_print.php?lang=$1&id=$2&permalien=$3 [QSA,L]
RewriteRule ^(.*)/([0-9]+)-(.*)/$   p-section.php?lang=$1&id=$2&permalien=$3 [QSA,L]
RewriteRule ^(.*)/news/([0-9]+)-(.*).html$   p-news.php?lang=$1&id=$2&permalien=$3 [QSA,L]
RewriteRule ^(.*)/news/print/([0-9]+)-(.*).html$   p-news_print.php?lang=$1&id=$2&permalien=$3 [QSA,L]
RewriteRule ^(.*)/calendar/([0-9]+)-(.*)-([0-9]+).html$   p-calendrier.php?lang=$1&mois=$2&annee=$4 [QSA,L]
RewriteRule ^(.*)/calendar/$   p-calendrier.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/carte/$   p-carte.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/editions/$   p-editions.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/map/$   p-carte.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/calendrier/([0-9]+)-(.*)-([0-9]+)/$   p-calendrier.php?lang=$1&mois=$2&annee=$4 [QSA,L]
RewriteRule ^(.*)/calendrier/$   p-calendrier.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/contact/$   p-contact.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/legal/$   p-legal.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/partager/section.html$   p-partager.php?lang=$1&section=1 [QSA,L]
RewriteRule ^(.*)/partager/page.html$   p-partager.php?lang=$1&page=1 [QSA,L]
RewriteRule ^(.*)/newsletter/$   p-newsletter.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/newsletter/unsubscribe-(.*).html$   p-newsletter.php?lang=$1&unsub=1&email=$2 [QSA,L]
RewriteRule ^(.*)/newsletterdesinsc-(.*).html$   p-newsletterdesinsc.php?user=$2 [L]
RewriteRule ^(.*)/archive-newsletter-([0-9]+)/$   p-archive_newsletter.php?id=$2 [L]
RewriteRule ^(.*)/archive_newsletters/([0-9]+)-(.*)-([0-9]+).html$   p-archive_newsletters.php?lang=$1&mois=$2&annee=$4 [QSA,L]
RewriteRule ^(.*)/archive_newsletters/$   p-archive_newsletters.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/newsletter-contenu-([0-9]+)/$   p-content_newsletter.php?id=$2 [L]
RewriteRule ^(.*)/inscription.html$   p-inscription.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/inscription-(.*).html$   p-inscription2.php?lang=$1&email=$2 [QSA,L]
RewriteRule ^(.*)/inscriptioncoor-(.*).html$   p-inscription3.php?lang=$1&email=$2 [QSA,L]
RewriteRule ^(.*)/inscription_coordinateur.html$   p-inscription_coordinateur.php [QSA,L]
RewriteRule ^(.*)/initiatives.html$   p-initiatives.php?lang=$1 [QSA,L]
RewriteRule ^(.*)/([0-9]+)-initiative.html$   p-initiative.php?lang=$1&type=$2 [QSA,L]
RewriteRule ^(.*)/search.html?(.*)$   p-search.php?lang=$1&$2 [QSA,L]
RewriteRule ^(.*)/([0-9]+)-pays.html$   p-pays.php?lang=$1&id=$2 [QSA,L]

RewriteRule ^(.*)/404.html$   a-404.php [QSA,L]

# ADMINISTRATION
RewriteRule ^admin/$   a-index.php [L]
RewriteRule ^fr/admin/$   a-index.php?lang=fr [L]
RewriteRule ^en/admin/$   a-index.php?lang=en [L]
RewriteRule ^fr/admin/connexion.php$   a-connexion.php?lang=fr [L]
RewriteRule ^en/admin/connexion.php$   a-connexion.php?lang=en [L]
RewriteRule ^fr/admin/password.php$   a-password.php?lang=fr [L]
RewriteRule ^en/admin/password.php$   a-password.php?lang=en [L]
RewriteRule ^fr/admin/forum.php$   a-forum.php?lang=fr [L]
RewriteRule ^en/admin/forum.php$   a-forum.php?lang=en [L]
RewriteRule ^admin/(.*)$   a-$1 [L]

# PHPTHUMB
RewriteRule ^photos/w([0-9]+)/h([0-9]+)/zc/(.+)$   phpThumb/phpThumb.php?src=../uploads/$3&w=$1&h=$2&zc=1 [L]
RewriteRule ^photos/w([0-9]+)/h([0-9]+)/(.+)$   phpThumb/phpThumb.php?src=../uploads/$3&w=$1&h=$2 [L]
RewriteRule ^photos/w([0-9]+)/(.+)$   phpThumb/phpThumb.php?src=../uploads/$2&w=$1 [L]
RewriteRule ^photos/h([0-9]+)/(.+)$   phpThumb/phpThumb.php?src=../uploads/$2&h=$1 [L]


ErrorDocument 404 /p-404.php

Zerion Mini Shell 1.0