Am Do, den 31.03.2005 schrieb Corey Head um 9:07: > Alias /webdav1/ /var/www/html/webdav1/ > Alias /webdav2/ /var/www/html/webdav2/ So the aliases are for the main host? Put the target directory into quotes. > NameVirtualHost 123.456.789.10 > > > <VirtualHost 123.456.789.10> > ServerName www.web1.com ^^^ > ServerAdmin webmaster@xxxxxxxx > DocumentRoot /var/www/html/web1 > DirectoryIndex index.htm You override the DirectoryIndex here to be just and only "index.htm". This means an index.php page isn't treated to be an index page. > ServerName host.web1.com A second ServerName set? > ServerAlias web1.com *.web1.com > ErrorLog logs/host.web1.com-error_log > TransferLog logs/host.web1.com-access_log > </VirtualHost> > > <VirtualHost 123.456.789.10> > ServerName www.web2.com ^^^ > ServerAdmin webmaster@xxxxxxxx > DocumentRoot /var/www/html/web1 > DirectoryIndex index.htm ^^^ > ServerName host.web2.com Here too! > ServerAlias web2.com *.web2.com > ErrorLog logs/host.web2.com-error_log > TransferLog logs/host.web2.com-access_log > </VirtualHost> > > > <VirtualHost 123.456.789.10> > ServerName www.web4.net ^^^ > ServerAdmin webmaster@xxxxxxxx > DocumentRoot /var/www/html/web4 > DirectoryIndex index.htm ^^^ > ServerName host.web4.net Again! > ServerAlias web4.net *.web4.net > ErrorLog logs/host.web4.net-error_log > TransferLog logs/host.web4.net-access_log > </VirtualHost> > > <VirtualHost 123.456.789.10> > ServerName www.web3.com ^^^ > ServerAdmin web3@xxxxxxxxx > DocumentRoot /var/www/html/web3 > DirectoryIndex home.htm ^^^ > ServerName host.web3.com This vhost has the fault too. > ServerAlias web3.com *.web3.com > ErrorLog logs/host.web3.com-error_log > </VirtualHost> > > > > (2) You are using FC3, which means that Susex > (sorry forgot what it is and how to spell it), may be > running. Check your system logfiles for any file > protection errors. No "Susex", I think SELinux is meant, probably not suExec. > Corey Alexander -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.771_FC2smp Serendipity 14:30:50 up 1 day, 11:57, load average: 0.64, 0.47, 0.39
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil