<VirtualHost *:80> ServerAdmin webmaster@abc.com DocumentRoot "d:/www/abc" ServerName www.abc.com ##ServerAlias Alias /course "d:/www/moodle" <Directory "d:/www/moodle"> Options FollowSymLinks AllowOverride None Order deny,allow allow from all </Directory> </VirtualHost>
访问 http://www.abc.com/course/ ,实际访问的是:d:/www/moodle/index.php