有沒有人可以對此有所瞭解?我似乎無法得到一個虛擬主機設置工作,我是新的Ubuntu(不相信呢?)我已經安裝了一臺燈工作正常。不能讓虛擬主機在Ubuntu 11.10上工作 - apache2?
我已經複製從默認的網站,有效地將其命名爲例子,我已經創建的目錄位於/ var /網絡/例子,放在一個索引文件
我已經使用a2ensite例子,並重新啓動服務器,然後進入127.0.0.1/example在瀏覽器中,但得到:
未找到
所請求的URL /例如在此服務器上找到。在127.0.0.1端口
的Apache/2.2.20(Ubuntu的)服務器80
這是我所示例:
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName example
DocumentRoot /var/www/example
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/example/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<VirtualHost>
任何人可以幫助的感謝
關於我的評論大規模延遲對不起! trid它,它工作正常,感謝您的幫助 – Ledgemonkey 2012-02-14 14:30:06