Am 2005-06-21 15:48:59, schrieb Ralph Wetter: > Sieht ja gut aus. Das mit der IP pro Netzwerkkarte war ja nur mein > "Normalfall". Ich habe ja dann noch darauf hingewiesen, dass es möglich ist > mehrere IPs pro Netzwerkkarte zu definieren. Bin einverstanden, dass das in Wieso pro Netzwerkkarte ? > diesem Fall wohl das beste wär. Das habe ich aber selber auch noch nie > gemacht.Würde mich aber eigentlich auch grad interessieren. Wie machst du > das? mit fixen ARP-Einträgen oder gibt es > da was besseres? Ich definiere die IP's im Apache __( '/home/Configs/vhosts/michelle.konzack' )_________________________ / | #################################################################### | # | # Virtualhost for michelle.konzack | # | #################################################################### | <VirtualHost 192.168.0.69:80> | ServerAdmin linux4michelle@freenet.de | DocumentRoot /home/michelle.konzack/public_html | ServerName michelle.konzack.home.tamay-dogan.net | ServerAlias michelle.konzack.home.tamay-dogan.homelinux.ne | t | UseCanonicalName off | | ErrorLog /home/michelle.konzack/log/apache/error.log | CustomLog /home/michelle.konzack/log/apache/access.log f | ull | | ErrorDocument 404 " | | <Directory /home/michelle.konzack/public_html> | AllowOverride FileInfo AuthConfig Limit | Options ExecCGI MultiViews Indexes SymLinksIfOwnerMatc | h Includes | DirectoryIndex index index.php index.html index.htm | <Limit GET POST OPTIONS PROPFIND> | Order allow,deny | Allow from all | </Limit> | <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOC | K UNLOCK> | Order deny,allow | Deny from all | </Limit> | </Directory> | </VirtualHost> \______________________________________________________________________ Bei den Secure-VHosts sieht es genauso aus. Also ich habe pro VHost so eine Datei oder auch größer :-) und include sie am Ende der: __( '/etc/apache/httpd.conf' )________________________________________ / | ### Section 1: Global Environment | ServerType standalone | ServerRoot /etc/apache | LockFile /var/lock/apache.lock | PidFile /var/run/apache.pid | ScoreBoardFile /var/run/apache.scoreboard | | Timeout 300 | | KeepAlive On | MaxKeepAliveRequests 100 | KeepAliveTimeout 15 | | MinSpareServers 5 | MaxSpareServers 10 | StartServers 5 | MaxClients 150 | MaxRequestsPerChild 100 | | BindAddress 192.168.0.69 <snip> | ### Section 2: 'Main' server configuration | Port 80 | User www-data | Group www-data | ServerAdmin linux4michelle@freenet.de | ServerName samba3.private.tamay-dogan.net <snip> | UseCanonicalName On <snip> | ### Section 3: Virtual Hosts | NameVirtualHost 192.168.0.69:80 | | Include /home/Configs/default.conf | | Include /home/Configs/vhosts/ \______________________________________________________________________ Sprich, funktioniert alles automatisch... Abgesehen davon haber ich mir ein PHP Frontend gecoded, mit dem ich die einzelnen VHosts proktisch konfigurieren kann, denn derzeit habe ich davon rund einmal 420 und auf einem anderen Server rund 5000 am laufen. > Viele Grüsse > Ralph Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature