|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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 _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
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 _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
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 > _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#4
|
|||
|
|||
|
I made this one:
url.rewrite-once = ( "^/(typo3|typo3conf|uploads|fileadmin).*$" => "$0", "^/(.*)$" => "/index.php" ) now FE works as far as I can see. Ian Solo wrote: > 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 >> _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#5
|
|||
|
|||
|
This one is better:
url.rewrite-once = ( "^/(typo3|t3lib|typo3conf|uploads|fileadmin).*$" => "$0", "^/(.*)$" => "/index.php" ) Also t3lib must not be rewrited. Ian Solo wrote: > I made this one: > > url.rewrite-once = ( > "^/(typo3|typo3conf|uploads|fileadmin).*$" => "$0", > "^/(.*)$" => "/index.php" > ) > > now FE works as far as I can see. > > Ian Solo wrote: >> 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 >>> _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] realUrl - alias instead of realUrl | Camilla | typo3-english@lists.netfielders.de | 6 | 29.01.2007 15:25 |