原因: The namevirtualhost command tells Apache that you will use VirtualHost boxes on a specific IP address. This command is needed only once for each IP address. It is not necessary to repeat the namevirtualhost directive for every VirtualHost box you use as in your example. The directive doesn’t define a VirtualHost, it only tells Apache that on that IP address one or more virtual hosts will be present.
阅读全文——共435字