[Typo3] htaccess rewrite engine

raluca oprean raluca at sds.ro
Tue Mar 22 11:24:55 CET 2005


Hi list

I have 2 sites on the same database. I've defined 2 domais for each. I want to redirect from the htaccess file like this:
cauta.sds.local  to be redirected to cauta.sds.local/sds/index.php?id=29
and
test.sds.local to be redirected to test.sds.local/sds/index.php?id=2

My htaccess file looks like this:

RewriteEngine on 

RewriteCond % ^http://cauta.sds.local$ [NC] 

RewriteRule  ^http://cauta.sds.local/sds/index.php?id=29$1 [R,L]

RewriteCond % ^http://test.sds.local$ [NC] 

RewriteRule  ^http://test.sds.local/sds/index.php?id=2$1 [R,L]

Can anyone see the mistake? 


- raluca oprean (raluca)

-----------------------
The mailing list archive is found here:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/
				



More information about the TYPO3-english mailing list