我正在将 Typo3 与 RealUrl 一起使用,并且我想要以下内容: foo.domain.com应该重定向到www.otherdomain.com
我用 Typo3 中的域记录(有一个重定向选项)和 .htaccess 的东西尝试了它,但似乎没有任何效果。
我尝试使用 foo.domain.com或bar.domain.com的每个前缀都会将我重定向到domain.com
有任何想法吗?
如果您想看一下,这是 .htaccess :
RewriteEngine On
RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]