Actions
Bug #14485
closeddetecting lib_div::getIndpEnv(SCRIPT_NAME)
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2005-01-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.7.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Actions