[TYPO3-dev] Rewriting "typo3/" path to realurl-page-path

Malte Jansen mail at maltejansen.de
Mon Sep 8 13:42:16 CEST 2008


Hi,

I want to redirect the path of the Backend of TYPO3-Installation 
(www.domain.com/typo3/) to a path of a CMS-page.

So I want, that the www.domain.com/typo3/ is rewritten to 
www.domain.com/someOtherT3PageInRealURLstyle/ , still displaying 
www.domain.com/typo3/ in the browser's url.

RewriteEngine On
#Version 1: displaying www.domain.com/typo3/
RewriteRule ^typo3/(.*)$ someOtherT3PageInRealURLstyle/$1
#Version 2: displaying www.domain.com/someOtherT3PageInRealURLstyle/
RewriteRule ^typo3/(.*)$ 
http://www.domain.com/someOtherT3PageInRealURLstyle/$1

RewriteRule 
^(t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ 
- [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php [L]

Version 1 creates an 500-error.
Version 2 is ignored.

I have anybody a hint for me?

Cheers,

Malte




More information about the TYPO3-dev mailing list