[TYPO3] realurl and lighttpd

Thomas Kieslich thomas at tk-studio.de
Fri Oct 5 18:44:11 CEST 2007


Am Fri, 05 Oct 2007 11:49:27 +0200 schrieb Ian Solo:

> Hi ppl!
> I'm setting up a new server that use lighttpd.
> It works great except for realurl.
> Lighttpd uses different rewrite rules than Apache.
> 
> Did anyone succeed in making realurl works with lighttpd?
> 
> Thanks in advance for you help!ian

Did you look for this:

$HTTP["host"] =~  "(www.|typo3.|kiesi.)tk-studio.de"{
url.rewrite-once = (
  "^/(typo3|typo3conf|uploads|fileadmin).*$" => "$0",
  "^/$" => "index.php",
  "^typo3$" => "typo3/index_re.php",
  ".html([^.]+)" => "index.php?$1",
  ".html$" => "index.php",
  "^/([^.]+)\.([^.])+\.html([^.]+)$" => "index.php?id=$1&type=$2&$3"
 )

#              url.rewrite-final = ( "^/typo3$" => "/typo3/index_re.php" )
#              server.error-handler-404 = "/index.php"
}
in most cases it is OK, but not in all



More information about the TYPO3-english mailing list