Changeset 70186 in spip-zone


Ignore:
Timestamp:
Feb 25, 2013, 9:39:39 AM (8 years ago)
Author:
cedric@…
Message:

mise a jour du htaccess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _galaxie_/www.spip-contrib.net/squelettes/2012/htaccess.txt

    r69818 r70186  
    6060# Redirection files.spip.org
    6161# sommaire
    62 RewriteCond %{HTTP_HOST} files.spip.org
    63 RewriteRule ^$ spip.php?page=paquets&dir=/ [QSA,skip=100]
     62#RewriteCond %{HTTP_HOST} files.spip.org
     63#RewriteRule ^$ spip.php?page=paquets&dir=/ [QSA,skip=100]
    6464# les fichiers existants, pour download
    65 RewriteCond %{HTTP_HOST} files.spip.org
    66 RewriteCond /home/spipcont/www/paquets/%{REQUEST_URI} -f
    67 RewriteRule ^.+$ paquets/$0 [skip=100]
     65#RewriteCond %{HTTP_HOST} files.spip.org
     66#RewriteCond /home/spipcont/www/paquets/%{REQUEST_URI} -f
     67#RewriteRule ^.+$ paquets/$0 [skip=100]
    6868#RewriteRule ^(.+)$ spip.php?page=paquets&dir=./&toto=%{REQUEST_URI}&var_mode=debug [skip=100]
    6969
    7070# les repertoires, remappes
    7171RewriteCond %{HTTP_HOST} files.spip.org
    72 RewriteCond /home/spipcont/www/paquets/%{REQUEST_URI} -d
    73 RewriteRule ^.+$ spip.php?page=paquets&dir=$0 [QSA,skip=100]
    74 
     72RewriteRule ^$ spip.php?page=paquets&dir=/ [QSA,E=url_propre:'',skip=100]
     73RewriteCond %{HTTP_HOST} files.spip.org
     74#RewriteCond /home/spipcont/www/paquets/%{REQUEST_URI} -d
     75RewriteRule ^(.+/)$ spip.php?page=paquets&dir=$1 [QSA,E=url_propre:'',skip=100]
    7576
    7677# Redirection stats.spip.org
     
    8889###
    8990
     91###
     92# APIs
     93# http://site/xmlrpc.api
     94# http://site/atom.api/articles/1234
     95
     96RewriteRule ^([\w]+)\.api(/(.*))?$ spip.php?action=api_$1&arg=$3 [QSA,L]
     97
     98# Fin des APIs
     99###
    90100
    91101###
     
    121131# Fin URLs "propres" et "propres2"
    122132
     133###
     134# Fichiers "standards" (si absents de la racine)
     135#
     136RewriteRule ^robots[.]txt$      spip.php?page=robots.txt [QSA,L]
     137RewriteRule ^favicon[.]ico$      spip.php?page=favicon.ico [QSA,L]
     138RewriteRule ^sitemap[.]xml$      spip.php?page=sitemap.xml [QSA,L]
     139##
    123140
    124141
Note: See TracChangeset for help on using the changeset viewer.