1 |
On Tuesday 16 November 2004 20:36, Alexander W Skwar wrote: |
2 |
> Gibt es irgendwelche Tipps, wie man möglichst einfach auf |
3 |
> einem Gentoo System in Apache2 Name Based Virtual Hosts |
4 |
> einrichten kann? |
5 |
|
6 |
vi /etc/apache2/conf/vhosts/vhosts.conf |
7 |
|
8 |
Und da sieht meine so aus: |
9 |
|
10 |
NameVirtualHost *:80 |
11 |
|
12 |
<VirtualHost *:80> |
13 |
ServerName pilatus.roederberg.dyndns.org |
14 |
DocumentRoot /home/httpd/htdocs |
15 |
</VirtualHost> |
16 |
|
17 |
<VirtualHost *:80> |
18 |
ServerName takered.roederberg.dyndns.org |
19 |
DocumentRoot /home/httpd/www_take_red_official |
20 |
</virtualHost> |
21 |
<VirtualHost *:80> |
22 |
ServerName tikipro.roederberg.dyndns.org |
23 |
DocumentRoot /home/httpd/takered_tikipro2 |
24 |
</virtualHost> |
25 |
<VirtualHost *:80> |
26 |
ServerName oldtakered.roederberg.dyndns.org |
27 |
DocumentRoot /home/httpd/take_red |
28 |
</virtualHost> |
29 |
|
30 |
<VirtualHost *:80> |
31 |
ServerName bugz.roederberg.dyndns.org |
32 |
DocumentRoot /home/httpd/bugz |
33 |
</virtualHost> |
34 |
|
35 |
Das funktioniert auch mit dem VirtuaHost von SSL durch die erste Anweisung mit |
36 |
dem *:80... |
37 |
|
38 |
Gute Nacht, |
39 |
|
40 |
Arnold |