On Sat, Oct 13, 2001 at 01:03:37PM +0200, Joerg Friedrich wrote: > > Hallo zusammen, > > aus dem Apache-Manual: > --- > New in Apache 1.3.13 is the feature that if Include points to a > directory, rather than a file, Apache will read all files in that > directory, and any subdirectory, > and parse those as configuration files. > --- > > 1. Erstelle Dir einfach unter /etc/apache/ ein Verzeichnis 'virthosts' > 2. dann ein kleines script, daß für jeden virthost eine entsprechende > Datei (wie unten) in diesem Verzeichnis erstellt. > 3. dann kommt noch ein 'Include /etc/apache/virthosts/' > das hält Deine httpd.conf übersichtlich und Du kannst schnell man was > ändern, ohne lang in der httpd.conf zu suchen. Danke. Das mache ich sowieso schon. :) es geht sogar noch einfacher (hätte mich auch gewundert): Einfach <virtualhost *> servername xxxx.de serveralias yyyyy.de *.yyyyy.de serveralias zzzzz.de *.zzzzz.de documentroot /home/www/xxxx.de/htdocs # ... </virtualhost> :-) -- Jens Benecke ········ http://www.hitchhikers.de/ - Europas Mitfahrzentrale Crypto regulations will only hinder criminals who obey the law.
Attachment:
pgpiHeGiG8zJE.pgp
Description: PGP signature