Lieber Besucher, herzlich willkommen bei: Ubuntu-Forum & Kubuntu-Forum | www.Ubuntu-Forum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
NameVirtualHost *:80 #Main-Host ServerName mainhost.at.tt DocumentRoot /var/www/ #Host-Felix <VirtualHost *:80> ServerName host-felix.at.tt ServerAdmin webmaster@mynet.de DocumentRoot /var/felix_www/ ErrorLog /var/log/error_felix.log CustomLog /var/log/log_felix.log common </VirtualHost> #Host-Raphael <VirtualHost *:80> ServerName raphael-host.at.tt ServerAdmin webmaster@order.mynet.de DocumentRoot /var/raphael_www/ ErrorLog /var/log/error_raphael.log CustomLog /var/log/log_raphael.log common </VirtualHost> |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »stromer« (12.05.2006, 17:20)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#Host-Felix <VirtualHost host-felix.at.tt> ServerName host-felix.at.tt ServerAdmin webmaster@mynet.de DocumentRoot /var/felix_www/ ErrorLog /var/log/error_felix.log CustomLog /var/log/log_felix.log common </VirtualHost> #Host-Raphael <VirtualHost raphael-host.at.tt> ServerName raphael-host.at.tt ServerAdmin webmaster@order.mynet.de DocumentRoot /var/raphael_www/ ErrorLog /var/log/error_raphael.log CustomLog /var/log/log_raphael.log common </VirtualHost> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
NameVirtualHost *:80 #Main-Host ServerName main-server.at.tt DocumentRoot /var/www/ #Host-Felix <VirtualHost host-felix.at.tt> ServerName host-felix.at.tt ServerAdmin webmaster@mynet.de DocumentRoot /var/felix_www/ ErrorLog /var/log/error_felix.log CustomLog /var/log/log_felix.log common </VirtualHost> #Host-Raphael <VirtualHost host-raphael.at.tt> ServerName host-raphael.at.tt ServerAdmin webmaster@order.mynet.de DocumentRoot /var/raphael_www/ ErrorLog /var/log/error_raphael.log CustomLog /var/log/log_raphael.log common </VirtualHost> |
Quellcode |
|
1 2 3 4 |
* Forcing reload of web server (Apache2)... [Sat May 13 11:59:03 2006] [warn] VirtualHost host-felix.at.tt:80 overlaps with VirtualHost host-raphael.at.tt:80, the first has precedence, perhaps you need a NameVirtualHost directive [Sat May 13 11:59:03 2006] [warn] NameVirtualHost *:80 has no VirtualHosts [Sat May 13 11:59:05 2006] [warn] VirtualHost host-felix.at.tt:80 overlaps with VirtualHost host-raphael.at.tt:80, the first has precedence, perhaps you need a NameVirtualHost directive [Sat May 13 11:59:05 2006] [warn] NameVirtualHost *:80 has no VirtualHosts |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »stromer« (13.05.2006, 11:59)
Quellcode |
|
1 |
NameVirtualHost 123.123.123.123:80 #natürlich schon die richtige IP eingetragen |
Quellcode |
|
1 2 3 4 |
* Forcing reload of web server (Apache2)... [Sat May 13 23:15:55 2006] [warn] VirtualHost host-felix.at.tt:80 overlaps with VirtualHost host-raphael.at.tt:80, the first has precedence, perhaps you need a NameVirtualHost directive [Sat May 13 23:15:55 2006] [warn] NameVirtualHost 123.123.123.123:80 has no VirtualHosts [Sat May 13 23:15:57 2006] [warn] VirtualHost host-felix.at.tt:80 overlaps with VirtualHost host-raphael.at.tt:80, the first has precedence, perhaps you need a NameVirtualHost directive [Sat May 13 23:15:57 2006] [warn] NameVirtualHost 123.123.123.123:80 has no VirtualHosts |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
<VirtualHost *> ServerAdmin webmaster@localhost ServerName www.domain1.de DirectoryIndex index.htm index.php index.html DocumentRoot /var/www/domain1.de/htdocs/ usw.. der ganze restliche kram.. cgi-bin und sowas.. |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 |
<VirtualHost *> ServerAdmin webmaster@localhost ServerName www.domain2.de DirectoryIndex index.htm index.php index.html DocumentRoot /var/www/domain2.de/htdocs/ usw.. der ganze restliche kram.. cgi-bin und sowas |
Zitat
Original von hoschi78
in /etc/apache2/sites-available machste dann symbolische links
ln-s 001-doamin1.de ../sites-available/domain1.de
ln-s 002-doamin2.de ../sites-available/domain2.de
Quellcode |
|
1 2 3 4 5 |
* Reloading web server config... [Tue May 23 21:53:08 2006] [warn] _default_ VirtualHost overlap on port 80, the first has precedence [Tue May 23 21:53:08 2006] [warn] _default_ VirtualHost overlap on port 80, the first has precedence httpd not running, trying to start ...done. |
Quellcode |
|
1 |
/usr/local/apache2/bin/httpd -S |
Sponsorenwerbung: |
Hardware, Computer, PCs, Notebooks & Laptops mit Linux |
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH
Individuelle Notebooks Laptops - Individuelle Computer PCs - Linux Notebooks & Computers
Lastminute - Ubuntu Linux - Abmahnung - Geek und Nerd Shirt Shop
T-Shirts - sanierung wien