Guys,
I have SHTTPD running successfully in a win32 service. However, I can't seem
to set the 'web root directory'.
Before moving over to a service enabled implementation I was using the
applications home directory as 'web root',
which is probably the default if no alternate location is specified, but now
the 'web root' seems to be c:\windows\system32.
I have tried the following programmatic configuration option:
shttpd_set_option(ctx,"root","c:\\opmws\\webroot");
But the application still believes, c:\windows\system32, is the web root.
Any ideas on how
I can force the embedded web server to use an alternate directory?
I read the source code and can see "root" is a valid config option in
config.c.
Regards,
John.
P.S. I'm using the latest cvs version (10-May-2008) of the source and
compiling with the latest version of MSVC.
-------------------------------------------------------------------------
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