informatique:web
Ceci est une ancienne révision du document !
Table des matières
Web
Caractéristiques et fonctionnalités
Listes de caractéristiques piquées chez les autres :
Tips
Jolis URLs
avec PATH_INFO
De jolies URLs pour optimiser votre référencement sur lapin-blanc.net.
avec MOD_REWRITE
Exemple pris sur DokuWiki :
RewriteEngine on # ## Not all installations will require the following line. If you do, ## change "/dokuwiki" to the path to your dokuwiki directory relative ## to your document root. RewriteBase / # ## If you enable DokuWikis XML-RPC interface, you should consider to ## restrict access to it over HTTPS only! Uncomment the following two ## rules if your server setup allows HTTPS. #RewriteCond %{HTTPS} !=on #RewriteRule ^lib/exe/xmlrpc.php$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301] # RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L] RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L] RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L] RewriteRule ^$ doku.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) doku.php?id=$1 [QSA,L] RewriteRule ^index.php$ doku.php
informatique/web.1250517425.txt.gz · Dernière modification : 19/05/2012 00:16 (modification externe)