[prev in list] [next in list] [prev in thread] [next in thread]
List: twsocket
Subject: Re: [twsocket] WebServer demo
From: "Francois PIETTE" <francois.piette () overbyte ! be>
Date: 2005-12-22 16:34:01
Message-ID: 026c01c60716$74471bd0$6501a8c0 () TOSHIBA2
[Download RAW message or body]
> Now my next problem is how can I arrange my directories in order to
> receive
> data from the demo Form.html Page
>
> Where do I put the webserv.exe because the form sends data to
> /cgi-bin/formhandler
>
> I am confused with all this (I am really newbie in this domain)
You should study WebServ demo code a little bit.
Some hints:
The component has a DocDir property which serve as "wwwroot" directory.
For dynamic content, there is a TemplateDir property where html template
files are read.
For other files, you have full control on it by code.
URL dispatching is done in TWebServForm.HttpServer1GetDocument.
--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
francois.piette@overbyte.be
http://www.overbyte.be
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic