[erlang-questions] inets & EWSAP
Fri Jan 18 18:17:14 CET 2008
On 18/01/2008, 001001 001011 <> wrote:
> Dear Erlang-Community!
> i have a very basic question regarding the
> EWSAPI. i was able to start the webserver
> from the inets-example directory and was
> served the index-page in the htdocs-folder.
> i created a link from the login page to my
> own .html file containing several forms
> (method=post) that are submitted.
> and now i'm stuck. what is the best way to
> create an entry point to the EWSAPI modules
> in order to handle the request?
In your configuration file for the inets application, include the
ErlScriptAlias directive and list all modules which are allowed to be
invoked via HTTP. Once that is done, and URL of the form:
will result in the function Module:Function/2 being invoked.
More information about the erlang-questions