Sergey,

 

Thanks for the prompt reply.

 

shttpd_set_option() is working just fine! It was a directory permissions
problem relating to the user account the service was running under (heavily
restricted).

 

I hope you didn't waste any of your valuable spare cycles! BTW, excellent
lightweight HTTPD implementation, which has been an absolute joy to use.

 

Regards,

 

John. 

 

 

  _____  

From: Sergey Lyubka [mailto:[EMAIL PROTECTED] 
Sent: 10 May 2008 19:53
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [shttpd-general] Set web root directory

 

Service thinks that the web root is c:\\windows\system32, because it was
started with that directory as current directory.  Try to put config file,
"shttpd.conf", in the same directory where the service executable lives. In
shttpd.conf, put "root c:\\whatever" line.

Although, shttpd_set_option() should work, let me check this when I get some
spare cycles and some winxp box nearby.

sergey

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general

Reply via email to