如何讓APACHE抓取各使用者目錄下的資料夾 - Linux

Table of Contents

目前要架一個APACHE SEVER

通常他的網頁目錄都會在var/www/html/

那我要如何讓每個使用者的家目錄裡面的網頁

都可以從 http://localhost/~username/

看到資料


PS1:我看前人的作法,似乎不是把httpd.conf 檔案中的 var/www/html/位置改掉

PS2:我已經知道要怎麼讓新增使用者時,同時把家目錄中放置public_html資料夾

--

All Comments

Ingrid avatarIngrid2009-09-27
記得鳥哥有寫
Harry avatarHarry2009-09-28
我似乎找到了 要把User Dir Disable 給取消掉 明天試試
Poppy avatarPoppy2009-10-02
新版的apache已經模組化了 sudo a2enmod userdir 即可