Ich habe irgendwie ein Problem, dass mein Apache scheinbar nur die 1. conf anfast, die er in den Vhosts findet.
abc.conf:
<VirtualHost *:80>
ServerName http://www.server1.de
ServerPath /abc/
ProxyRequests On
ProxyPass /abc http://google.de
ProxyPassReverse /abc http://google.de
</VirtualHost>
def.conf:
<VirtualHost *:80>
ServerName http://www.server2.de
ServerPath /def/
ProxyRequests On
ProxyPass /def http://yahoo.de
ProxyPassReverse /def http://yahoo.de
</VirtualHost>
Wenn ich nun auf *IP*/def zugreife, bekomme ich nen 404.
Warum das****
NameVirtualHost *:80 ist in der http.conf eingetragen.
abc.conf:
<VirtualHost *:80>
ServerName http://www.server1.de
ServerPath /abc/
ProxyRequests On
ProxyPass /abc http://google.de
ProxyPassReverse /abc http://google.de
</VirtualHost>
def.conf:
<VirtualHost *:80>
ServerName http://www.server2.de
ServerPath /def/
ProxyRequests On
ProxyPass /def http://yahoo.de
ProxyPassReverse /def http://yahoo.de
</VirtualHost>
Wenn ich nun auf *IP*/def zugreife, bekomme ich nen 404.
Warum das****
NameVirtualHost *:80 ist in der http.conf eingetragen.