Hi,All,

I am using the webserver thttpd 2.25b on my DM6446 board, and I found that a
problem abouth it:
When I use the configuration file like this:
*/thttpd -c /opt/dvevm/thttpd.conf *
but the webserver could not
use the config file thttpd.conf and the web page dir could not be set
in the config file
my config file is :
*# This section overrides defaults*
*dir=/opt/Network_Demo/web*
*chroot*
*user=root*
*logfile=/opt/Network_Demo/web/thttpd.log*
*pidfile=/opt/Network_Demo/web/thttpd.pid*
*# This section _documents_ defaults in effect*
*# port=80*
*# nosymlink# default = !chroot*
*# novhost*
*# nocgipat*
*# nothrottles*
*# host=0.0.0.0*
*# charset=iso-8859-1*
When I use the command :
*/thttpd -d /opt/Network_Demo/web*
It seems like the webdir could not be set correctly!

Could anyone tell me how to set the webdir for thttpd 2.25b?
what use of  the scrips file thttpd_wrapper?
*#!/bin/sh*
*DVEVMDIR=/opt/dvevm*
*while true ; do*
*    cd $DVEVMDIR/web*
*    ./thttpd -c "/cgi-bin/*" -l /dev/null*
*    sleep 10*
*done*

-- 
Best Regards!                   zhangshaofeng
       @Xi'an JiaoTong University
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to