0
Ich möchte alle unbekannten Subdomains in Apache umleiten, können Sie mir helfen? Beispiel: "aaa.mydomain.com/bbb.mydomain.com/ccc.mydomain.com" umleiten zu "all.domain.com".Alle unbekannten Domänen umleiten
Mein aktueller host:
>
ServerAdmin [email protected]
ServerName domain.dev
ServerAlias administration.domain.dev
ServerAlias agence.domain.dev
ServerAlias css.domain.dev
ServerAlias dev.domain.dev
ServerAlias dome.domain.dev
DocumentRoot /var/www/symfony/domain/web
<Directory /var/www/symfony/domain/web>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php [QSA,L]
</IfModule>
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error_dev.domain.dev.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access_dev.domain.dev.log combined