----------------------------------------
My apache configuration
----------------------------------------
ServerName www.1234.com
ServerAdmin admin@1234.com
ErrorLog /var/log/apache/error.log
LogLevel warn
DocumentRoot /home/lj/htdocs
User lj
Group lj
Timeout 30
KeepAlive Off
PerlSetEnv LJHOME /home/lj
PerlRequire /home/lj/cgi-bin/modperl.pl
ServerAlias 1234.com *.1234.com
TransferLog /var/log/apache/access.log
----------------------------------------
----------------------------------------
404 error by Apache
----------------------------------------
Not Found
The requested URL / was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
----------------------------------------
----------------------------------------
access.log
----------------------------------------
//Accessing user.1234.com
192.168.1.1 - - [26/Mar/2005:19:10:08 +0800] "GET / HTTP/1.1" 200 118
//Accessing 1234.com
192.168.1.1 - - [26/Mar/2005:19:10:14 +0800] "GET / HTTP/1.1" 304 -
//Accessing www.1234.com
192.168.1.1 - - [26/Mar/2005:19:10:16 +0800] "GET / HTTP/1.1" 404 -
----------------------------------------
error.log (set to debug level) is empty.
Of course, 1234.com is just an replaced example, the original domain is 100% working.