[TYPO3-linux] .htaccess symlinks

Rapunzl netfielders at rapunzl.com
Wed Apr 11 05:31:26 CEST 2007


My host, LunarPages, does support symlinks via .htaccess.

For Example:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule sig.png test.php [L]
RewriteRule index.html www.mydomain.com/cms [L]
RewriteRule index.htm www.mydomain.com/cms [L]
RewriteRule index.php www.mydomain.com/cms [L]

This probably seems like a no-brainer, but I can't figure out how to set up 
Typo 3 when I have:
http://mydomain.com/cms
http://mydomain.com/src

I either get a 500 Error or a directory listing any way I configured it. I 
guess I'm not understanding whether the src/typo3 or cms/typo3 directory 
should be the rewrite and what the RewriteBase directory should be. I'm an 
obvious newbie but usually a quick study.

One more little twist... I don't usually post the www. prefix for my site 
but want either www.mydomain.com or mydomain.com to be directed to my root 
site which will be symlinked to my Typo3 install. 



More information about the TYPO3-linux mailing list