On 2/6/07, Fansul <[EMAIL PROTECTED]> wrote:
Hello Ronny,

Tuesday, February 6, 2007, 9:11:59 AM, you 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.

Keluarannya hanya Syntax Ok

>>   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?

Ini file httpd.confnya, dikirim lengkap


ServerTokens OS
ServerRoot "/etc/httpd"
PidFile "/var/run/httpd.pid"
TimeOut 300
KeepAlive false
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 150
MaxRequestsPerChild 100
</IfModule>

<IfModule worker.c>
StartServers         2
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

Listen *:80


Kok tidak ada yang seperti ini, sebelum virtual host.

# This should be changed to whatever you set DocumentRoot to.
#
##<Directory "/var/www/html">
<Directory "/data/www/local">
##### Dalam kasus ini, ini seharusnya: ####
<Directory "/xhpl/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
   Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
   AllowOverride None

#
# Controls who can get stuff from this server.
#
   Order allow,deny
   Allow from all

</Directory>


hth, Yaya

--
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