[TYPO3] Document_Root / Typo3_Document_Root with CGIWrapper not correct

Dennis Cheung hkdennis2k at gmail.com
Fri Feb 17 03:02:47 CET 2006


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
>



More information about the TYPO3-english mailing list