Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  Are local modules possible?

Guest
Posted: Wed Nov 04, 2009 11:23 pm Reply with quote
Guest
I am writing an appmod that processes requests in order to execute an
appropriate action.

<server localhost>
port = 8080
listen = 0.0.0.0
docroot = /home/dev/hp
appmods = </, conductor>
</server>

the conductor appmod takes foo and bar from a request such as
"localhost:8080/foo/bar", loads the foo module from an applications
directory in docroot and calls the function bar if there exists a
module foo with a function bar in the applications directory.

However I don't want any modules to crash into other virtualhost's
modules if they happen to have the same name is there a way to load a
module in such a manner that they will not interfere?

Best regards
Nicklas W Bjurman

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Thu Nov 05, 2009 12:55 am Reply with quote
Guest
On Wed, Nov 4, 2009 at 6:21 PM, Nicklas Widlund Bjurman <lordmetroid@gmail.com (lordmetroid@gmail.com)> wrote:
Quote:
I am writing an appmod that processes requests in order to execute an
appropriate action.

<server localhost>

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum