[TYPO3] realurl and lighttpd

Ian Solo ian at webian.it
Sat Oct 6 09:12:51 CEST 2007


Yes, it's the first thing I tryed.
But it gives me many problems.

FE doesn't work. I have links like:
http://www.typo3.org/products/
and I get a 404

if I use direct link like:
http://www.typo3.org/index.php?id=247
it works.

Btw, thank you for your answer :)

Thomas Kieslich wrote:
> 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