ada 2 cara:

1. pake symlink linux

caranya:
bikin folder di lokasi baru untuk apache.
trus link-in dengan: ln -s <full path ke directory baru apache> <full
path directory baru apache>

2. kalau di httpd.conf
edit bagian
<DocumentRoot>

contoh nya:
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
#DocumentRoot "/var/www/html"
DocumentRoot "/xhpl/htdocs"


Ronny Haryanto wrote:
> On Mon, Feb 05, 2007 at 02:10:09PM +0800, Fansul wrote:
>   
>>   Saya mau pindah default folder apache, yang sebelumnya ada di
>>   /var/www/html menjadi /xhpl/htdocs
>>   kenapa nggak mau ya ? selalu keluar error DocumentRoot must be a
>>   Directory.
>>     
>
> Coba paste output dari 'apachectl configtest' ke sini.
>
>   
>>   file /etc/httpd/conf/httpd.conf DocumentRoot nya udah saya arahkan
>>   ke /xhpl/htdocs
>>     
>
> Mungkin bisa dipaste ke sini juga cuplikan dari bagian yg relevan dari
> httpd.conf-nya?
>
> Ronny
>   


-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke