sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #59590
Lidt mere apache og virtualhost
Jeg kan ikke få apache til at æde mine virtual hosts. Det burde da
ellers være simpelt nok..:-)
Det er meningen at min server skal tage mit alm. domæne og mit
testdomæne. spiffer.dk er ikke redeligeret endnu.
<snip>
NameVirtualHost *
<VirtualHost *>
ServerName www.spiffer.dk
ServerAdmin rune@xxxxxxxxxx
DocumentRoot /var/www/html/
ErrorLog logs/test-error_log
CustomLog logs/test-access_log common
DirectoryIndex index.shtml index.html index.htm index.php
</VirtualHost>
<VirtualHost *>
ServerName spiffer.dk
ServerAdmin rune@xxxxxxxxxx
DocumentRoot /var/www/html/spiffer
ErrorLog logs/spiffer.dk-error_log
CustomLog logs/spiffer.dk-access_log common
DirectoryIndex index.shtml index.html index.htm index.php
</VirtualHost>
<VirtualHost *>
ServerName www.zimse.dk
ServerAdmin rune@xxxxxxxx
DocumentRoot /var/www/html/zimse
ErrorLog logs/www.zimse.dk-error_log
CustomLog logs/www.zimse.dk-access_log common
DirectoryIndex index.shtml index.html index.htm index.php
</VirtualHost>
<VirtualHost *>
ServerName zimse.dk
ServerAdmin rune@xxxxxxxx
DocumentRoot /var/www/html/zimse
ErrorLog logs/zimse.dk-error_log
CustomLog logs/zimse.dk-access_log common
DirectoryIndex index.shtml index.html index.htm index.php
</VirtualHost>
<VirtualHost *>
ServerName webmail.zimse.dk
ServerAdmin webmail@xxxxxxxx
DocumentRoot /usr/share/squirrelmail
ErrorLog logs/webmail.zimse.dk-error_log
CustomLog logs/webmail.zimse.dk-access_log common
DirectoryIndex index.php
</VirtualHost>
</snip>
Når jeg så laver en forespørgsel får jeg denne fejl:
<snip>
Bad request!
Your browser (or proxy) sent a request that this server could not
understand.
If you think this is a server error, please contact the webmaster
Error 400
www.zimse.dk
tor 23 jan 2003 12:26:15 CET
Apache/2.0.40 (Red Hat Linux)
</snip>
Fra min access-log:
80.199.4.37 - - [23/Jan/2003:12:26:14 +0100] "GET / HTTP/1.01." 400 978
80.199.4.37 - - [23/Jan/2003:12:26:15 +0100] "GET / HTTP/1.01." 400 978
Nogen bud?
Mvh.
--
Rune Z.
Follow ups