2016-06-01 7 views
0

Ich bin sehr neu in Bitnami/Apache/Aws und wurde kürzlich damit beauftragt, herauszufinden, warum 3 unserer Websites auf eine bestimmte Website umleiten. Ich habe unzählige Stunden damit verbracht und denke, dass ich es auf die app.conf-Dateien beschränkt habe. Selbst wenn ich versuche, auf die URLs/wp-admin oder/administrator zuzugreifen, bringe ich sie zur anderen Seite. Hier sind zwei der app.conf-Dateien. Lassen Sie es mich wissen, wenn etwas fehl am Platz erscheint. Danke im Voraus.Bitnami Mehrere Websites, die auf eine Website umleiten

Hauptseite alle anderen Umleitung zu

<VirtualHost *:80> 
DocumentRoot /opt/bitnami/apps/www.blueleafdef.com/htdocs 
ServerName blueleafdef.com 
ServerAlias www.blueleafdef.com 
ServerAlias blueleafdefr.uat.ignitedev.com 
ErrorLog /opt/bitnami/apps/www.blueleafdef.com/log/error.log 
CustomLog /opt/bitnami/apps/www.blueleafdef.com/log/access.log common 

<Directory "/opt/bitnami/apps/www.blueleafdef.com/htdocs"> 
Options +Indexes +FollowSymLinks -MultiViews 
AllowOverride All 
Order allow,deny 
Allow from all 
</Directory> </VirtualHost> 

Ein Beispiel für andere Website

<VirtualHost *> 
DocumentRoot /opt/bitnami/apps/www.fuelsnews.com/htdocs 
ServerName www.fuelsnews.com:80 
ServerAlias www.fuelsnews.com 
ErrorLog /opt/bitnami/apps/www.fuelsnews.com/log/error.log 
CustomLog /opt/bitnami/apps/www.fuelsnews.com/log/access.log common 

<Directory "/opt/bitnami/apps/www.fuelsnews.com/htdocs"> 
    Options Indexes MultiViews 
    AllowOverride All 
    Order allow,deny 
    Allow from all 
</Directory> </VirtualHost> 


<VirtualHost *> 
DocumentRoot /opt/bitnami/apps/www.fuelsnews.com/htdocs 
ServerName fuelsnews.com:80 
ServerAlias fuelsnews.com 
ErrorLog /opt/bitnami/apps/www.fuelsnews.com/log/error.log 
CustomLog /opt/bitnami/apps/www.fuelsnews.com/log/access.log common 

<Directory "/opt/bitnami/apps/www.fuelsnews.com/htdocs"> 
    Options Indexes MultiViews 
    AllowOverride All 
    Order allow,deny 
    Allow from all 
</Directory> </VirtualHost> 


<VirtualHost *> 
DocumentRoot /opt/bitnami/apps/www.fuelsnews.com/htdocs 
ServerName fuelsnewsr.uat.ignitedev.com:80 
ServerAlias fuelsnewsr.uat.ignitedev.com 
ErrorLog /opt/bitnami/apps/www.fuelsnews.com/log/error.log 
CustomLog /opt/bitnami/apps/www.fuelsnews.com/log/access.log common 

<Directory "/opt/bitnami/apps/www.fuelsnews.com/htdocs"> 
    Options Indexes MultiViews 
    AllowOverride All 
    Order allow,deny 
    Allow from all 
</Directory> </VirtualHost> 

Antwort

1

Verwenden unten und starten Sie den Apache es wird funktionieren.

<VirtualHost *> 
DocumentRoot /opt/bitnami/apps/www.fuelsnews.com/htdocs 
ServerName www.fuelsnews.com 
ServerAlias fuelsnews.com 
ErrorLog /opt/bitnami/apps/www.fuelsnews.com/log/error.log 
CustomLog /opt/bitnami/apps/www.fuelsnews.com/log/access.log common 

<Directory "/opt/bitnami/apps/www.fuelsnews.com/htdocs"> 
    Options Indexes MultiViews 
    AllowOverride All 
    Order allow,deny 
    Allow from all 
</Directory> </VirtualHost> 


<VirtualHost *> 
DocumentRoot /opt/bitnami/apps/www.fuelsnews.com/htdocs 
ServerName fuelsnewsr.uat.ignitedev.com 
ServerAlias fuelsnewsr.uat.ignitedev.com 
ErrorLog /opt/bitnami/apps/www.fuelsnews.com/log/error.log 
CustomLog /opt/bitnami/apps/www.fuelsnews.com/log/access.log common 

<Directory "/opt/bitnami/apps/www.fuelsnews.com/htdocs"> 
    Options Indexes MultiViews 
    AllowOverride All 
    Order allow,deny 
    Allow from all 
</Directory> </VirtualHost> 
Verwandte Themen