[TYPO3-core] Making Real URL work for IIS

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Jan 11 17:08:27 CET 2007


Martin Kutschker schrieb:
> Martin Kutschker schrieb:
> 
>>>
>>> Why we simply cannot check for HTTP_X_REWRITE_URL first and then for 
>>> REQUEST_URI? This is less flexible but avoids extra settings and 
>>> shorter...
>>
>>
>> Because neither mod_rewrite (for IIS) nor IIS-Rewrite use it. The 
>> former doesn't set any header *, the latter sets HTTP_SCRIPT_URL.
>>
>> And so we're flexible for other rewriters.
> 
> 
> I found another open source alternative (untested):
> 
> http://cheeso.members.winisp.net/IIRF.aspx
> 
> It works more like mod_rewrite for Apache than any others. It even 
> emulates  REQUEST_FILENAME which is not available in other rewriters.
> 
> It can be configured to store the original URL in HTTP_X_REWRITE_URL on 
> a per rule basis (with the [U] flag).

So what do you think? Is HTTP_X_REWRITE_URL which is supported by two 
rewriters good enough or do we need the more complex setup which requires 
admin know-how from may first post.

I know that many here ignore Windows and IIS, but still we have such setups 
and you cannot XCLASS t3lib_div. There's no alternative to hacking (yikes) 
or adding stuff into it.

Masi


More information about the TYPO3-team-core mailing list