[TYPO3-german] Saubere Trennung von Backend und Frontend

Helmut Hummel typo3 at jhpc.de
Sat Nov 24 15:41:47 CET 2007


Hallo Philipp,

danke! Ich hatte einen ähnlichen Ansatz mal verfolgt, allerdings
anscheinend mit falschen Rewrite Regeln :-/

Philipp Fath schrieb:
> 
> Der Junior ist doch ein schlaues kerlchen deshalb:
> Quelle: http://www.typo3forum.net/forum/faq-backend/18068-eigenes-vhost-fuer-das-typo3-backend.html
> 
> Das Verzeichnis /typo3/ für alle Domains außer dem backend Domain sperren.
> 
> Datei /www/path/to/yoursite/typo3/.htaccess:

Das ist schlecht für Installtionen mit _einem_ Source Verzeichnis

> RewriteEngine ON
> RewriteCond %{HTTP_HOST} !typo3.backend.info [NC]
> RewriteRule ^(.*)$ http://typo3.backend.info [L,R=301]

Darum habe ich in /www/path/to/yoursite/.htaccess
folgendes hinzugefügt:

RewriteCond %{HTTP_HOST} !typo3.backend.info [NC]
RewriteRule ^typo3/(.*)$ https://typo3.backend.info [L,R=301]

So funktioniert es bei mir wunderbar.

-- 
lib.salutation = TEXT
lib.salutation.value = Kind regards, Helmut
lib.salutation.lang.de = Viele Grüße, Helmut


More information about the TYPO3-german mailing list