|
|
| Author |
Message |
|
| Guest |
Posted: Sun Sep 10, 2006 4:50 pm |
|
|
|
Guest
|
Hi,
I have added an application that handles web applications to the CVS.
Now you can easily add and remove different applications to the same virtual
server (when it is up and running), or the same applications to different
virtual servers, or the same application to the same virual server, but with
several different URLs....
The applications are made as ordinary Erlang apps, and can be hooked into Yaws
as long as they are found in the Erlang code loader path.
So the idea is to have a lib directory (even though it is not necessary, apps
may be scattered all around your file system) like:
lib/
app1/
ebin/
priv/docroot/
app2/
ebin/
priv/docroot/
etc.
Erlang modules, including appmods for each application and a .app file goes
into the ebin dir, and web pages (.yaws, .html, etc.) goes into priv/docroot.
When hooked into a Yaws virtual server, the applications will be found with
URLs
http://servername/app1/
http://servername/app2/
as default. ( The URLs are configurable to ).
It is still a bit beta, but I hope it can be quite useful as it is now.
There is an introduction added to the Yaws pages -
http://yaws_servername/yapp_intro.yaws.
The sources are in the yaws/applications/yapp directory.
Best regards
Mikael
-------------------------------------------------------------------------
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 |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|