hallo.
hab 2 joomla webseiten auf einen webserver. ich möchte das bei domain1.com nur diese domain sichtbar ist und wenn man domain2.com eingibt nur domain2.com sichtbar ist. Ohne das in der URL www.domain1.com/domain2/ steht.
im rootverzeichnis habe ich 2 ordner (domain1.com und domain2.com) und die .htaccess datei mit folgendem inhalt:
RewriteEngine On
#Eintrag für domain1.com
RewriteCond %{HTTP_HOST} domain1.com$ [NC]
RewriteCond %{REQUEST_URI} !^/domain1.com/?.*$
RewriteRule ^(.*)$ /domain1.com/$1 [L]
#Eintrag für domain2.de
RewriteCond %{HTTP_HOST} domain2.com$ [NC]
RewriteCond %{REQUEST_URI} !^/domain2.com/?.*$
RewriteRule ^(.*)$ /domain2.com/$1 [L]


LinkBack URL
About LinkBacks
Zitieren

Lesezeichen