Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  Yaws in REPOS

dmitriid
Posted: Sat Sep 02, 2006 8:11 am Reply with quote
User Joined: 17 Aug 2006 Posts: 213
Ok, I'm stupid, I know Smile

How do I configure Yaws from REPOS (under Windows) to view included examples or to read files from a different directory. It currently only sees ../../lib/repos-1.4/yaws.

If it is possible, of course Smile

Post recived from mailinglist
View user's profile Send private message
Ke Han
Posted: Fri Sep 08, 2006 12:45 am Reply with quote
User Joined: 02 Mar 2005 Posts: 107 Location: Shanghai
Dmitrii,
Sorry for the late reply...earlier this year I had to work with Yaws
on Windows during what was supposed to be a vacation and my wife's
laptop had to do Wink...

Here are the directory references you need to know in order to use
REPOS 1.4b2 with Yaws without having to do major surgery.

This is the yaws "docroot"...that is, when you run repos:start
(yaws), this is the http server's docroot.
$REPOS_ROOT\erlang\lib\repos-1.4\yaws
I simply moved the contents of this to a backup directory and used
this original directory for my app.

Your ebin/src/include directories go elsewhere:
create a directory for your app's erlang modules under:
$REPOS_ROOT\erlang\lib
Anything under this will be found by the REPOS path scheme.

oddly, I can't recall which of the 3 yaws.conf files (search the
tree, you'll find 3) is used when you call repos:start(yaws)...
I think it might have been
$REPOS_ROOT\erlang\lib\yaws-1.58\scripts\yaws.conf

hope this helps...although the process-one folks have indicated that
sometime this month we may have a better answer to these problems.

ke han


On Sep 2, 2006, at 4:09 PM, Dmitrii Dimandt wrote:

> Ok, I'm stupid, I know Smile
>
> How do I configure Yaws from REPOS (under Windows) to view included
> examples or to read files from a different directory. It currently
> only sees ../../lib/repos-1.4/yaws.
>
> If it is possible, of course Smile
> ----------------------------------------------------------------------
> ---
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642______________________________
> _________________
> Erlyaws-list mailing list
> Erlyaws-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
View user's profile Send private message

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