[TYPO3-linux] mod_rewrite not considered correctly

Samuel Krieg skrieg+ml at wng.ch
Thu Nov 1 19:16:37 CET 2007


Hi there,

I'm facing an unusual problem with mod_rewrite. I'm trying to do a simple easy rewrite rule (which
usually works). Unfortunately I can't make it work, neither figure out what's wrong.

Here's my .htaccess:
8<-----------------------------------


RewriteEngine On
RewriteRule ^special.html$ index.php?id=31  [L,QSA]


8<-----------------------------------


With this rule, http://mysite.com/special.html should directly display the page
http://mysite.com/index.php?id=31. Well, that's not the case. The homepage is displayed.

If I replace index.php by a test page printing the $_GET param there is no problem. It seems that
Typo3 is hidding something.

Does the above rule works anywhere? Is my Typo3 install acting weird?

system specs: PHP5.1/Apache 2.0 on Debian

Thanks for helping.

-- 
Samuel Krieg


More information about the TYPO3-linux mailing list