摘要:
1 - mkdir lab/web/apacheRoot 目标根目录2 - cd /etc/apache2/sites-available3 - sudo cp default default.bak 备份原来的文件4 - sudo gedit default5 - <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /home/yi/lab/web/apacheRoot <Directory /> Options FollowSymLinks AllowOverride None </D 阅读全文