Issue Bug Closed

#14485detecting lib_div::getIndpEnv(SCRIPT_NAME)

Ingo Schmitt 01/11/05, 16:07 updated 08/18/06, 16:11

Description

When using mod_rewrite for Real_url 2.0 doing the configuration dirctly in the httpd.conf typo3 doesnt get the script name directly. Using Modrewrite with configuration in .htacces TYPO3 detectes the SCRIPT_NAME correctly

If you configure mod_rewrite in the httpd the global
$_SERVER[‘SCRIPT_NAME’] is set to ‘/path/path2/index.html’
If you configure mod_rewrite in .htaccess
_SERVER[‘SCRIPT_NAME’] is set to ‘index.php’

As t3lib_div::getIndpEnv(SCRIPT_NAME) is used to detect the path name for real_url we always get the wrong path and T3 is showing the wrong page:-(

Running Apache/1.3.27 , PHP 4.3.4 on Linux xxxx 2.4.20-64GB-SMP #1 SMP Thu Jul 29 18:16:34 UTC 2004 i686
(issue imported from #M672)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.