Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  yaws.conf : "include_dir" and "ebin_dir"

Guest
Posted: Wed Oct 24, 2007 4:45 pm Reply with quote
Guest
Hi,
Why "include_dir" and "ebin_dir" cannot be put into a server declaration like that ?

<server www.sample.com>
Guest
Posted: Wed Oct 24, 2007 9:49 pm Reply with quote
Guest
Greg Burri wrote:
> Hi,
> Why "include_dir" and "ebin_dir" cannot be put into a server declaration
> like that ?
>
> <server www.sample.com <http://www.sample.com>>
> doc_root = "/var/www/sample"
> include_dir = "include/"
> ebin_dir = "ebin/"
> [..]
> </server>
>
> the directories 'include' and 'ebin' are relative to 'doc_root'.
>
>

Both of these are global to the entire yaws server. include could
be made to become server local, but ebin will have to be global.


> An another problem I have is the name collision into two modules which
> theires names are the same, I have to prefix each module by the name of
> his website. Is there an another solution ?
>


There is maybe a proper solution and that is to use the new and
funky package system, I've never ysed it, maybe some other members
on this list has?


/klacke

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

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