[TYPO3-install] Typo3 with simulateStatic in a subdirectory

Michael Stucki michael at typo3.org
Mon Sep 4 09:38:35 CEST 2006


Hi Levente,

> I have installed Typo3 in a subdirectory of my web root (htdocs/cms/).
> simulateStatic works quite fine, accessing my site calling
> http://www.mySite.com/cms/.
> 
> Now I would like to make my website only accessible calling
> http://www.mySite.com/. All invalid URLs (404) as well as any direct call
> of http://www.mySite.com/cms/... (except calling the backend) should be
> redirected to http://www.mySite.com/. I.e. no visitor should ever see in
> which subdirectory my typo3 is installed (due to security reasons).
> 
> What exactly has to be defined in which .htaccess file (/htdocs/.htaccess
> and /htdocs/cms/.htaccess) in order to make this work as required?

Nothing. You can simply move all files to the parent directory. That's
simple, isn't it?

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-install mailing list