[Typo3] Re: htaccess rewrite engine
Matthew Manderson
matthew at manderson.co.uk
Wed Mar 23 07:00:34 CET 2005
> 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
Try something like this repeat again for the second domain.
# This rewrite will direct parked domains to sub directories
RewriteCond %{HTTP_HOST} sub.domain.co.uk$
RewriteCond %{REQUEST_URI} !cms/subdir/
RewriteRule ^(.*)$ cms/subdir/$1
Matthew
--
w: www.aoline.com
More information about the TYPO3-english
mailing list