|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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 _______________________________________________ TYPO3-linux mailing list TYPO3-linux (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...fo/typo3-linux |
|
#2
|
|||
|
|||
|
The problem is related to the realurl extention.
-- Samuel Krieg _______________________________________________ TYPO3-linux mailing list TYPO3-linux (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...fo/typo3-linux |
|
#3
|
|||
|
|||
|
Samuel Krieg wrote:
> 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<----------------------------------- Hi Samuel, Your rule looks fine. Do you actually have mod_rewrite loaded? Check this by looking at the phpinfo in the install tool. Kind regards, Michiel Roos -- Netcreators BV :: creation and innovation www.netcreators.com Interesse in werken bij Netcreators? http://www.netcreators.com/bedrijf/vacatures/ _______________________________________________ TYPO3-linux mailing list TYPO3-linux (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...fo/typo3-linux |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] mod_rewrite - Mass Redirection Help Needed (I'm Desparate!) | Timothy Patterson | typo3-english@lists.netfielders.de | 5 | 25.05.2007 10:58 |
| [TYPO3] utf-8 to show up correctly not only in FE/BE but in mysqlclients, too? | Giannis Economou | typo3-english@lists.netfielders.de | 6 | 12.03.2007 14:56 |
| Re: [TYPO3-german] Realurl & mod_rewrite & indexed_search: PfadzuIcons | Christine Rochelt | typo3-german@lists.netfielders.de | 1 | 07.03.2007 11:54 |
| [TYPO3-german] Realurl & mod_rewrite & indexed_search: Pfad zu Icons | Christine Rochelt | typo3-german@lists.netfielders.de | 1 | 06.03.2007 13:42 |
| Re: [TYPO3] sp_directory and utf-8 doesn't work correctly | Julo Ferianc | typo3-english@lists.netfielders.de | 0 | 10.12.2006 01:22 |