request query, hosts, url, session ...

13.12.2008, 16:00 Sur lighttpd, les gens utilisent souvent $HTTP['HOST'], tellement que les autres options possibles en sont souvent eclipsé ...

Autre possibilité de configuration avec lighty

Exemple ici
http://redmine.lighttpd.net/wiki/lighttpd/Docs:Configuration

Citation
$HTTP["cookie"] match on cookie
$HTTP["host"] match on host
$HTTP["useragent"] match on useragent
$HTTP["referer"] match on referer
$HTTP["url"] match on url. If there are nested blocks, this must be the most inner block.
$HTTP["querystring"] match on querystring, eg, after the ? in this type url: index.php?module=images..
$HTTP["remoteip"] match on the remote IP or a remote Network (Warning: doesn't work with IPv6 enabled)
$HTTP["scheme"] (Introduced in version 1.4.19) match on the scheme used by the incoming connection. This is either "http" or "https".
$SERVER["socket"] match on socket. Value must be on the format "ip :p ort", where ip is an IP address(optional) and port a port number. Only equal match (==) is supported. It also binds the daemon to this socket. Use this if you want to do IP/port-based virtual hosts.
$PHYSICAL["path"] (Introduced in version 1.5.0) - match on the mapped physical path of the file / cgi script to be served.
$PHYSICAL["existing-path"] (Introduced in version 1.5.0) - match on the mapped physical path of the file / cgi script to be served only if such a file exists on the local filesystem.
mumuri cinemona.com
mumuri
mumuri
Messages : 14 377

  • livres bds roman
  • dessin animé
  • allo ciné
  • forum
  • astuces de jeux vidéos
  • actualité de jeux vidéos
  • bourse
  • smileys
  • avis films & streaming
  • avis livres
  • séries télé
  • anime
Tous droits réservés © 2002-2009 . Top flood. Crédits des logiciels tiers     .