I am a having a problem with SWAT when I enter "" or "http://localhost:901" I get the following error:

"500 Server Error
chdir failed - the server is not configured correctly"

here is a copy of my swat file:
service swat
disable = no
port = 901
protocol = tcp
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID

here is a copy of my host file: localhost.localdomain localhost

here is a copy of my service file:

swat 901/tcp # Samba Web Administration Tool

Thanks for the help

steven l