[erlang-questions] How do i get values from this URL? and execute an erlang module with the values to reply the client with result?

Gokul Evuri <>
Wed Jan 4 02:56:13 CET 2012


How can i implement exile??
that is what i am trying to ask!!
any sample scripts for exile(if it is a script), this would be very helpful
for my project.

On Wed, Jan 4, 2012 at 2:21 AM, Steve Vinoski <> wrote:

> On Tue, Jan 3, 2012 at 7:45 PM, Gokul Evuri <>
> wrote:
> > http://www.myserver.com/exile?Key1=Value1&Key2=Value2
> >
> > When i get a request in this format to my server, how do i handle this
> > request? What i need to do: Need to get all the values and run a Erlang
> > module, and send the result to the client.Is exile a CGI and if so how
> come
> > it doesn't have a .cgi extension?
>
> You can't tell how exile is implemented just from this URL alone.
>
> > Additional Data: I have setup an Yaws on my server(Desktop running linux
> > server). yaws.conf file is configured.
>
> If you want exile to be processed via CGI, take a look at the Yaws CGI
> documentation here:
>
> http://yaws.hyber.org/cgi.yaws
>
> You can also do this with a Yaws appmod:
>
> http://yaws.hyber.org/appmods.yaws
>
> In an appmod you can obtain the query string portions of the URL via
> the #arg appmod argument, as described here:
>
> http://yaws.hyber.org/query.yaws
>
> For Yaws-specific questions, you might want to use the erlyaws-list:
>
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list
>
> --steve
>



-- 
*Gokul Reddy Evuri,*
*IT Universitet **Göteborg**,*
*Göteborg,*
*Sverige.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120104/2b05888c/attachment.html>


More information about the erlang-questions mailing list