[Typo3-dev] Page not found since RC2

Georges Reti typo3 at isfates.com
Tue Apr 27 21:28:43 CEST 2004


Hi,

I just found the problem:

in file typo3/class.t3lib_div.php, line 2506 :
				return php_sapi_name()=='cgi' ? $HTTP_SERVER_VARS['PATH_INFO'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];

I have cgi, but the $HTTP_SERVER_VARS['PATH_INFO'] is not set by default.

I solved the problem by putting this line at the begenning of typo3/init.php
$HTTP_SERVER_VARS['PATH_INFO'] = $HTTP_SERVER_VARS['SCRIPT_NAME'];

I don't know if that's the smartest way to do it but it works now. If you have any better idea, please let me know.

cheers

Georges

>Hi,
>
>i just hope I'm not bugging you with a well known issue...
>
>I tried to install Typo3.6 RC2 (last source from CVS) + linux dummy package from typo3.org on a test server. Install runs fine but I can't log into the backend. The login is ok, but the redirection to alt_main.php leads me to a wrong place (http://www.site.com/alt_main.php and not http://www.site.com/typo3/alt_main.php)
>
>When I get into the backend (I type the good adress manually), the links to the modules are wrong too.
>
>Here one of the error message I get (for list module): The requested URL /alt_mod_frameset.php was not found on this server.
>shouldn't it be typo3/alt_mod_frameset.php
>
>I have a Typo3.5 installation on the same server that runs just fine. 
>
>I tried to reinstall and used this time the testsite package, but it neither works and I get the same Error
>
>any idea? (or did I do 2 times the same mistake???)
>
>cheers
>
>Georges
>
>
>_______________________________________________
>Typo3-dev mailing list
>Typo3-dev at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>






More information about the TYPO3-dev mailing list