[TYPO3] Document_Root / Typo3_Document_RootwithCGIWrappernotcorrect
Another Vision
info at anothervision.co.uk
Fri Feb 17 12:00:49 CET 2006
Does it fire up OK with
www.domain.de/blah/ ?
I had a hitch with trying to key in urls - which I didn't bother to fix : )
My first set up didn't append /page.html and seemed to work fine without.
Other CMS seem to take this approach too, all your url's becoming in effect
directory paths.
Hope it works out.
M
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Harald
Klotzberg [decomplex audio HQ]
Sent: Friday 17 February 2006 10:49
To: 'TYPO3 English'
Subject: Re: [TYPO3] Document_Root /
Typo3_Document_RootwithCGIWrappernotcorrect
Hi Mike,
sure i tried this before :)
Rewrite works perfect for L1 Menü Entries (1st Level of the Site-Structure),
encoding works for all levels,
means: url generated well like:
www.domain.de/blah/blub/test.html
this is not the prob.
i click on www.domain.de/test.hmtl, everything is fine.
i click on www.domain.de/blah/test.html, i get an error
Error. Reason: "test.html" could not be found, closest page matching is
id-to-path-mapping seems fine,
realurl_log says everything is redirected to index.php as well
i dunno whats wrong :(
grtz, harry
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Another
Vision
Sent: Friday, February 17, 2006 11:25 AM
To: 'TYPO3 English'
Subject: Re: [TYPO3] Document_Root / Typo3_Document_Root
withCGIWrappernotcorrect
Harry
I got RealURL to work recently where typo3 3.7 was running in a subdirectory
(you sound a bit more of a pro, so you may have tried this already). On one
of the bits of documentation someone provided this method using HTaccess:
Try this:
RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteBase /your_subdirectory/
RewriteRule (\.html|/)$ index.php
Change rewrite base to whatever subdirectory you're running typo3 in; note
that the rewrite rule has no / preceding index.php
Hth
Mike
_________________________________________
Hi Denis,
thanx for your reply.
Yes, i already checked class.t3lib_div.php before i wrote that mail, there
is a fix for some CGI-Wrappers (which not fix the prob with my cgiwrapper).
I thougt someone has a simple and elegant idea, maybe a simple TS Solution
:)
I tried the simplest possible Solution first, moved the T3-Installation to
the htdocs of the Server-Package to test it.
Pathes are now correct, my main Problem with RealURL and mod_Rewrite is
still there (As reported in another Mail in the List ([TYPO3] RealURL
Problem on 3.8.1 with RealURL 1.0.0)).
Your suggestion to rewrite the function should be my second plan, but as a
correct path has no effect to my main problem with realURL, i think i can
leave it. An interessting thing is, that Typo works correct with wrong
Pathes without having RealURL running, wicked!
Thanx anyway!
Have a nice day
grtz, harry
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Dennis
Cheung
Sent: Friday, February 17, 2006 3:03 AM
To: TYPO3 English
Subject: Re: [TYPO3] Document_Root / Typo3_Document_Root with CGIWrapper
notcorrect
Hi,
Fastest and safe method is.
open class.t3lib_div.php, and rewrite that function.
you can return a constant for it.
It is just not portable. And I am serious.
I think typo3 should provide something like constant or ENV variable to
override these wrong auto-detection value. Specially you already known it is
broken in some cases, but not found a solution.
Dennis
On 2/16/06, Harald Klotzberg [decomplex audio HQ]
<harry at decomplexaudio.com> wrote:
> Hi List,
>
> trying to fix my RealURL Problem i checked phpinfo() in the Install
> Tool.
>
> I´m confused about the DOCUMENT_ROOT and TYPO3_DOCUMENT_ROOT, cause
> it´s pointed to my Document Root written in the httpd.conf from the
> provider, not to the /subdirectory/ where typo3 is installed.
>
> Could be a CGIWrapper Problem i guess.
>
> On my own server it works perfect, TYPO3_DOCUMENT_ROOT is shown in
> the /subdirectory/ there, but on this server not! Could be the Problem
> with RealURL as reported before.
>
> any ideas how to fix that?
>
>
> grtz, harry
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list