TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 05.10.2007, 11:49
Ian Solo
Gast
 
Beiträge: n/a
Standard [TYPO3] realurl and lighttpd

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 05.10.2007, 18:44
Thomas Kieslich
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] realurl and lighttpd

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 06.10.2007, 09:12
Ian Solo
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] realurl and lighttpd

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 06.10.2007, 09:27
Ian Solo
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] realurl and lighttpd

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 06.10.2007, 11:47
Ian Solo
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] realurl and lighttpd

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] realUrl - alias instead of realUrl Camilla typo3-english@lists.netfielders.de 6 29.01.2007 15:25


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:23 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75