[Typo3-dev] Bug in .htaccess?
Karsten Dambekalns
k.dambekalns at fishfarm.de
Thu Apr 29 14:41:41 CEST 2004
Hi!
On 2004-04-29, Michael Stucki <mundaun at gmx.ch> wrote:
> Hi Karsten,
>
>> .. unless you use simulateStatic. Then you get something like
>> mypage.html?id=xyz, which obviously cannot work.
>
> I see. Does that mean that TYPO3 first checks if the URI contains an alias
> or a page uid inside its filename _before_ it checks for the 'id' param?
This seems to be the case. At least the appended id is not used. Maybe
I confuse this right now, and it appended &id=xyz, thinking that there
*must* already be parameters present (which are usually, but not with
simulateStatic).
>> We 'hotfixed' this by adding this to .htaccess:
>> RewriteRule ^[^/]*\.html&id=([0-9]*)$ /t3cebit/index.php?id=$1 [R,L]
>
> IMHO the wrong way. If my assumption above is right then we can easily fix
> this by changing the order in the core.
As I said, it's a 'hotfix'. We needed this to work 'tomorrow',
so... hacking the core wasn't an option :)
I just wanted to throw this in.
If this behaviour is still present, maybe it should go into
bugs.typo3.org?
Karsten
More information about the TYPO3-dev
mailing list