[Typo3] domain redirection to subfolders

Heiner Lamprecht heiner at heiner-lamprecht.net
Mon Jun 20 15:31:20 CEST 2005


On Monday 20 June 2005 15:25, Christoph Koehler wrote:
> And if I wanted it to redirect to a subdirectory, I would do:
> <VirtualHost *>
> 	ServerName www.standarname.com/subdir/
> 	ServerAlias www.newname.com www.newname2.com www.newname3.com
> 	...
> </VirtualHost>
>
> Would this work?

No.  The ServerName is the name of the domain, so it can't contain 
an directory.   You should set the DocumentRoot for accessing any 
directory on your server, or use a redirect.


    Heiner

-- 
    heiner at heiner-lamprecht dot net    GnuPG - Key: 9859E373
  Fingerprint:  3770 7947 F917 94EF 8717 BADB 0139 7554 9859 E373



More information about the TYPO3-english mailing list