[TYPO3-core] Making Real URL work for IIS

Michael Stucki michael at typo3.org
Fri Jan 19 16:39:07 CET 2007


Hi Martin,

> So to make use of these I suggest, we add a configuration setting from
> which global variable REQUEST_URI is to retrieve:
> 
> case 'REQUEST_URI':
>   if ($GLOBALS['TYPO3_CONF_VAR']['SYS']['requestURI']) {
>    list($v,$n) = 
>      split('|',$GLOBALS['TYPO3_CONF_VAR']['SYS']['requestURI']); 
>    $retVal = $GLOBALS[$v][$n];
>   } elseif (!$_SERVER['REQUEST_URI']) {
>   ...
> }
> 
> For ISAP_rewrite you have to use _SERVER|HTTP_X_REWRITE_URL etc

Without testing this, just looking at the code above:

list($v,$n) = split('|',$string);
$retVal = $GLOBALS[$v][$n];

Does this work? I doubt it!

Basically, adding a new option for this seems fine to me. But please provide
a patch first, then I will check to see if it works.

- michael

PS: I believe this could also be useful on systems with strange proxy
servers...
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list