| Author |
Message |
|
| Guest |
Posted: Thu Aug 17, 2006 7:54 pm |
|
|
|
Guest
|
I am having a problem getting appmods to work. I have the following
in my yaws.conf file
<server localhost>
port = 8080
listen = 0.0.0.0
docroot = /tmp
appmods = <pwr, pwr_main_controller_appmod>
dir_listings = true
dav = true
<auth>
realm = foobar
dir = /
user = foo:bar
user = baz:bar
</auth>
</server>
I have a module called pwr_main_controller_appmod.erl and it is loaded
when yaws starts. It exports an out/1 function that returns {html,
"some html"} but when I surf to www.martinjlogan.com:8080/pwr/... I am
told that there is no such path found on the server. I can't find
anything in the logs to explain it. Anyone have an idea why?
Cheers,
Martin
-------------------------------------------------------------------------
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 |
|
| Guest |
Posted: Thu Aug 17, 2006 8:30 pm |
|
|
|
Guest
|
ebin_dir=/some/path
is pwr_main_controller_appmod in /some/path ?
~Michael
On Thu, Aug 17, 2006 at 02:53:52PM -0500, Martin Logan wrote:
> I am having a problem getting appmods to work. I have the following
> in my yaws.conf file
>
> <server localhost>
> port = 8080
> listen = 0.0.0.0
> docroot = /tmp
> appmods = <pwr, pwr_main_controller_appmod>
> dir_listings = true
> dav = true
> <auth>
> realm = foobar
> dir = /
> user = foo:bar
> user = baz:bar
> </auth>
> </server>
>
> I have a module called pwr_main_controller_appmod.erl and it is loaded
> when yaws starts. It exports an out/1 function that returns {html,
> "some html"} but when I surf to www.martinjlogan.com:8080/pwr/... I am
> told that there is no such path found on the server. I can't find
> anything in the logs to explain it. Anyone have an idea why?
>
> Cheers,
> Martin
>
> -------------------------------------------------------------------------
> 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
--
Michael McDaniel
Portland, Oregon, USA
http://autosys.us
+1 503 283 5284
-------------------------------------------------------------------------
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 |
|
| Guest |
Posted: Thu Aug 17, 2006 8:33 pm |
|
|
|
Guest
|
errr, I mean "is pwr_main_controller_appmod.beam in /some/path ?"
^^^^^^
~M
On Thu, Aug 17, 2006 at 01:29:50PM -0700, Michael McDaniel wrote:
> ebin_dir=/some/path
>
> is pwr_main_controller_appmod in /some/path ?
>
>
> ~Michael
>
>
> On Thu, Aug 17, 2006 at 02:53:52PM -0500, Martin Logan wrote:
> > I am having a problem getting appmods to work. I have the following
> > in my yaws.conf file
> >
> > <server localhost>
> > port = 8080
> > listen = 0.0.0.0
> > docroot = /tmp
> > appmods = <pwr, pwr_main_controller_appmod>
> > dir_listings = true
> > dav = true
> > <auth>
> > realm = foobar
> > dir = /
> > user = foo:bar
> > user = baz:bar
> > </auth>
> > </server>
> >
> > I have a module called pwr_main_controller_appmod.erl and it is loaded
> > when yaws starts. It exports an out/1 function that returns {html,
> > "some html"} but when I surf to www.martinjlogan.com:8080/pwr/... I am
> > told that there is no such path found on the server. I can't find
> > anything in the logs to explain it. Anyone have an idea why?
> >
> > Cheers,
> > Martin
> >
> > -------------------------------------------------------------------------
> > 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
>
> --
> Michael McDaniel
> Portland, Oregon, USA
> http://autosys.us
> +1 503 283 5284
>
> -------------------------------------------------------------------------
> 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
--
Michael McDaniel
Portland, Oregon, USA
http://autosys.us
+1 503 283 5284
-------------------------------------------------------------------------
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 |
|
| Guest |
Posted: Thu Aug 17, 2006 8:33 pm |
|
|
|
Guest
|
It is part of a path. If I start yaws with the shell I can type in
pwr_main_controller_appmod, hit tab, and get a list of the functions
in the module from the shell.
On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
> ebin_dir=/some/path
>
> is pwr_main_controller_appmod in /some/path ?
>
>
> ~Michael
>
>
> On Thu, Aug 17, 2006 at 02:53:52PM -0500, Martin Logan wrote:
> > I am having a problem getting appmods to work. I have the following
> > in my yaws.conf file
> >
> > <server localhost>
> > port = 8080
> > listen = 0.0.0.0
> > docroot = /tmp
> > appmods = <pwr, pwr_main_controller_appmod>
> > dir_listings = true
> > dav = true
> > <auth>
> > realm = foobar
> > dir = /
> > user = foo:bar
> > user = baz:bar
> > </auth>
> > </server>
> >
> > I have a module called pwr_main_controller_appmod.erl and it is loaded
> > when yaws starts. It exports an out/1 function that returns {html,
> > "some html"} but when I surf to www.martinjlogan.com:8080/pwr/... I am
> > told that there is no such path found on the server. I can't find
> > anything in the logs to explain it. Anyone have an idea why?
> >
> > Cheers,
> > Martin
> >
> > -------------------------------------------------------------------------
> > 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
>
> --
> Michael McDaniel
> Portland, Oregon, USA
> http://autosys.us
> +1 503 283 5284
>
> -------------------------------------------------------------------------
> 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 |
|
|
| Back to top |
|
| Guest |
Posted: Thu Aug 17, 2006 8:35 pm |
|
|
|
Guest
|
Here is the result I get
Not Found
The requested URL /pwr/sdf was not found on this server.
Yaws 1.58 Server at core:8080
On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
>
> errr, I mean "is pwr_main_controller_appmod.beam in /some/path ?"
> ^^^^^^
>
> ~M
>
>
> On Thu, Aug 17, 2006 at 01:29:50PM -0700, Michael McDaniel wrote:
> > ebin_dir=/some/path
> >
> > is pwr_main_controller_appmod in /some/path ?
> >
> >
> > ~Michael
> >
> >
> > On Thu, Aug 17, 2006 at 02:53:52PM -0500, Martin Logan wrote:
> > > I am having a problem getting appmods to work. I have the following
> > > in my yaws.conf file
> > >
> > > <server localhost>
> > > port = 8080
> > > listen = 0.0.0.0
> > > docroot = /tmp
> > > appmods = <pwr, pwr_main_controller_appmod>
> > > dir_listings = true
> > > dav = true
> > > <auth>
> > > realm = foobar
> > > dir = /
> > > user = foo:bar
> > > user = baz:bar
> > > </auth>
> > > </server>
> > >
> > > I have a module called pwr_main_controller_appmod.erl and it is loaded
> > > when yaws starts. It exports an out/1 function that returns {html,
> > > "some html"} but when I surf to www.martinjlogan.com:8080/pwr/... I am
> > > told that there is no such path found on the server. I can't find
> > > anything in the logs to explain it. Anyone have an idea why?
> > >
> > > Cheers,
> > > Martin
> > >
> > > -------------------------------------------------------------------------
> > > 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
> >
> > --
> > Michael McDaniel
> > Portland, Oregon, USA
> > http://autosys.us
> > +1 503 283 5284
> >
> > -------------------------------------------------------------------------
> > 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
>
> --
> Michael McDaniel
> Portland, Oregon, USA
> http://autosys.us
> +1 503 283 5284
>
> -------------------------------------------------------------------------
> 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 |
|
|
| Back to top |
|
| Guest |
Posted: Thu Aug 17, 2006 8:47 pm |
|
|
|
Guest
|
Though the shell path is not necessarily the yaws path. I suggest
adding ebin_dir=/some/path to where you want your appmods to reside.
For example, in yaws.conf:
---
ebin_dir=/var/yaws/ebin
<server localhost>
...
appmods = <mxml, mxml>
</server>
---
$ ls /var/yaws/ebin/*.beam
/var/yaws/ebin/autosys_alarm.beam
/var/yaws/ebin/autosys_logger.beam
/var/yaws/ebin/dbexp.beam
/var/yaws/ebin/email.beam
/var/yaws/ebin/expcache.beam
/var/yaws/ebin/experror.beam
/var/yaws/ebin/expmaster.beam
/var/yaws/ebin/filewatch.beam
/var/yaws/ebin/m3m_404.beam
/var/yaws/ebin/mxml.beam
/var/yaws/ebin/myappmod.beam
/var/yaws/ebin/odbcsrv.beam
/var/yaws/ebin/shopcart.beam
and now URL http://localhost/mxml calls appmod mxml
~Michael
On Thu, Aug 17, 2006 at 03:32:57PM -0500, Martin Logan wrote:
> It is part of a path. If I start yaws with the shell I can type in
> pwr_main_controller_appmod, hit tab, and get a list of the functions
> in the module from the shell.
>
> On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
> > ebin_dir=/some/path
> >
> > is pwr_main_controller_appmod in /some/path ?
> >
> >
> > ~Michael
> >
> >
> > On Thu, Aug 17, 2006 at 02:53:52PM -0500, Martin Logan wrote:
> > > I am having a problem getting appmods to work. I have the following
> > > in my yaws.conf file
> > >
> > > <server localhost>
> > > port = 8080
> > > listen = 0.0.0.0
> > > docroot = /tmp
> > > appmods = <pwr, pwr_main_controller_appmod>
> > > dir_listings = true
> > > dav = true
> > > <auth>
> > > realm = foobar
> > > dir = /
> > > user = foo:bar
> > > user = baz:bar
> > > </auth>
> > > </server>
> > >
> > > I have a module called pwr_main_controller_appmod.erl and it is loaded
> > > when yaws starts. It exports an out/1 function that returns {html,
> > > "some html"} but when I surf to www.martinjlogan.com:8080/pwr/... I am
> > > told that there is no such path found on the server. I can't find
> > > anything in the logs to explain it. Anyone have an idea why?
> > >
> > > Cheers,
> > > Martin
> > >
> > > -------------------------------------------------------------------------
> > > 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
> >
> > --
> > Michael McDaniel
> > Portland, Oregon, USA
> > http://autosys.us
> > +1 503 283 5284
> >
> > -------------------------------------------------------------------------
> > 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
--
Michael McDaniel
Portland, Oregon, USA
http://autosys.us
+1 503 283 5284
-------------------------------------------------------------------------
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 |
|
| Guest |
Posted: Thu Aug 17, 2006 9:24 pm |
|
|
|
Guest
|
I tried unfortunately no luck. I looked at my .script file and it
indicates that the prim_loader loads this file. I am sure that it is
loaded but for some reason yaws is not recognising it. I am using
version 1.58 of yaws, could that be a problem?
On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
> Though the shell path is not necessarily the yaws path. I suggest
> adding ebin_dir=/some/path to where you want your appmods to reside.
>
> For example, in yaws.conf:
> ---
> ebin_dir=/var/yaws/ebin
>
> <server localhost>
>
> ...
>
> appmods = <mxml, mxml>
>
> </server>
> ---
>
>
> $ ls /var/yaws/ebin/*.beam
> /var/yaws/ebin/autosys_alarm.beam
> /var/yaws/ebin/autosys_logger.beam
> /var/yaws/ebin/dbexp.beam
> /var/yaws/ebin/email.beam
> /var/yaws/ebin/expcache.beam
> /var/yaws/ebin/experror.beam
> /var/yaws/ebin/expmaster.beam
> /var/yaws/ebin/filewatch.beam
> /var/yaws/ebin/m3m_404.beam
> /var/yaws/ebin/mxml.beam
> /var/yaws/ebin/myappmod.beam
> /var/yaws/ebin/odbcsrv.beam
> /var/yaws/ebin/shopcart.beam
>
>
> and now URL http://localhost/mxml calls appmod mxml
>
>
> ~Michael
>
>
> On Thu, Aug 17, 2006 at 03:32:57PM -0500, Martin Logan wrote:
> > It is part of a path. If I start yaws with the shell I can type in
> > pwr_main_controller_appmod, hit tab, and get a list of the functions
> > in the module from the shell.
> >
> > On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
> > > ebin_dir=/some/path
> > >
> > > is pwr_main_controller_appmod in /some/path ?
> > >
> > >
> > > ~Michael
> > >
> > >
> > > On Thu, Aug 17, 2006 at 02:53:52PM -0500, Martin Logan wrote:
> > > > I am having a problem getting appmods to work. I have the following
> > > > in my yaws.conf file
> > > >
> > > > <server localhost>
> > > > port = 8080
> > > > listen = 0.0.0.0
> > > > docroot = /tmp
> > > > appmods = <pwr, pwr_main_controller_appmod>
> > > > dir_listings = true
> > > > dav = true
> > > > <auth>
> > > > realm = foobar
> > > > dir = /
> > > > user = foo:bar
> > > > user = baz:bar
> > > > </auth>
> > > > </server>
> > > >
> > > > I have a module called pwr_main_controller_appmod.erl and it is loaded
> > > > when yaws starts. It exports an out/1 function that returns {html,
> > > > "some html"} but when I surf to www.martinjlogan.com:8080/pwr/... I am
> > > > told that there is no such path found on the server. I can't find
> > > > anything in the logs to explain it. Anyone have an idea why?
> > > >
> > > > Cheers,
> > > > Martin
> > > >
> > > > -------------------------------------------------------------------------
> > > > 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
> > >
> > > --
> > > Michael McDaniel
> > > Portland, Oregon, USA
> > > http://autosys.us
> > > +1 503 283 5284
> > >
> > > -------------------------------------------------------------------------
> > > 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
>
> --
> Michael McDaniel
> Portland, Oregon, USA
> http://autosys.us
> +1 503 283 5284
>
> -------------------------------------------------------------------------
> 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 |
|
|
| Back to top |
|
| Guest |
Posted: Thu Aug 17, 2006 9:29 pm |
|
|
|
Guest
|
Maybe yaws is using /var/yaws/yaws.conf rather than /etc/yaws.conf
I am now using v1.64 and it accepts --conf arg thusly...
yaws --conf /etc/yaws.conf
try yaws --help to see if your version also accepts --conf
~M
On Thu, Aug 17, 2006 at 04:23:46PM -0500, Martin Logan wrote:
> I tried unfortunately no luck. I looked at my .script file and it
> indicates that the prim_loader loads this file. I am sure that it is
> loaded but for some reason yaws is not recognising it. I am using
> version 1.58 of yaws, could that be a problem?
>
> On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
> > Though the shell path is not necessarily the yaws path. I suggest
> > adding ebin_dir=/some/path to where you want your appmods to reside.
> >
> > For example, in yaws.conf:
> > ---
> > ebin_dir=/var/yaws/ebin
> >
> > <server localhost>
> >
> > ...
> >
> > appmods = <mxml, mxml>
> >
> > </server>
> > ---
> >
> >
> > $ ls /var/yaws/ebin/*.beam
> > /var/yaws/ebin/autosys_alarm.beam
> > /var/yaws/ebin/autosys_logger.beam
> > /var/yaws/ebin/dbexp.beam
> > /var/yaws/ebin/email.beam
> > /var/yaws/ebin/expcache.beam
> > /var/yaws/ebin/experror.beam
> > /var/yaws/ebin/expmaster.beam
> > /var/yaws/ebin/filewatch.beam
> > /var/yaws/ebin/m3m_404.beam
> > /var/yaws/ebin/mxml.beam
> > /var/yaws/ebin/myappmod.beam
> > /var/yaws/ebin/odbcsrv.beam
> > /var/yaws/ebin/shopcart.beam
> >
> >
> > and now URL http://localhost/mxml calls appmod mxml
> >
> >
> > ~Michael
> >
> >
> > On Thu, Aug 17, 2006 at 03:32:57PM -0500, Martin Logan wrote:
> > > It is part of a path. If I start yaws with the shell I can type in
> > > pwr_main_controller_appmod, hit tab, and get a list of the functions
> > > in the module from the shell.
> > >
> > > On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
> > > > ebin_dir=/some/path
> > > >
> > > > is pwr_main_controller_appmod in /some/path ?
> > > >
> > > >
> > > > ~Michael
> > > >
> > > >
> > > > On Thu, Aug 17, 2006 at 02:53:52PM -0500, Martin Logan wrote:
> > > > > I am having a problem getting appmods to work. I have the following
> > > > > in my yaws.conf file
> > > > >
> > > > > <server localhost>
> > > > > port = 8080
> > > > > listen = 0.0.0.0
> > > > > docroot = /tmp
> > > > > appmods = <pwr, pwr_main_controller_appmod>
> > > > > dir_listings = true
> > > > > dav = true
> > > > > <auth>
> > > > > realm = foobar
> > > > > dir = /
> > > > > user = foo:bar
> > > > > user = baz:bar
> > > > > </auth>
> > > > > </server>
> > > > >
> > > > > I have a module called pwr_main_controller_appmod.erl and it is loaded
> > > > > when yaws starts. It exports an out/1 function that returns {html,
> > > > > "some html"} but when I surf to www.martinjlogan.com:8080/pwr/... I am
> > > > > told that there is no such path found on the server. I can't find
> > > > > anything in the logs to explain it. Anyone have an idea why?
> > > > >
> > > > > Cheers,
> > > > > Martin
> > > > >
> > > > > -------------------------------------------------------------------------
> > > > > 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
> > > >
> > > > --
> > > > Michael McDaniel
> > > > Portland, Oregon, USA
> > > > http://autosys.us
> > > > +1 503 283 5284
> > > >
> > > > -------------------------------------------------------------------------
> > > > 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
> >
> > --
> > Michael McDaniel
> > Portland, Oregon, USA
> > http://autosys.us
> > +1 503 283 5284
> >
> > -------------------------------------------------------------------------
> > 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
--
Michael McDaniel
Portland, Oregon, USA
http://autosys.us
+1 503 283 5284
-------------------------------------------------------------------------
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 |
|
| Guest |
Posted: Fri Aug 18, 2006 7:33 am |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Fri Aug 18, 2006 10:43 pm |
|
|
|
Guest
|
Thanks for the help. I upgraded my version of yaws to 1.64 and it
works out of the box.
Cheers,
Martin
On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
>
> Maybe yaws is using /var/yaws/yaws.conf rather than /etc/yaws.conf
>
> I am now using v1.64 and it accepts --conf arg thusly...
>
> yaws --conf /etc/yaws.conf
>
>
> try yaws --help to see if your version also accepts --conf
>
> ~M
>
>
> On Thu, Aug 17, 2006 at 04:23:46PM -0500, Martin Logan wrote:
> > I tried unfortunately no luck. I looked at my .script file and it
> > indicates that the prim_loader loads this file. I am sure that it is
> > loaded but for some reason yaws is not recognising it. I am using
> > version 1.58 of yaws, could that be a problem?
> >
> > On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
> > > Though the shell path is not necessarily the yaws path. I suggest
> > > adding ebin_dir=/some/path to where you want your appmods to reside.
> > >
> > > For example, in yaws.conf:
> > > ---
> > > ebin_dir=/var/yaws/ebin
> > >
> > > <server localhost>
> > >
> > > ...
> > >
> > > appmods = <mxml, mxml>
> > >
> > > </server>
> > > ---
> > >
> > >
> > > $ ls /var/yaws/ebin/*.beam
> > > /var/yaws/ebin/autosys_alarm.beam
> > > /var/yaws/ebin/autosys_logger.beam
> > > /var/yaws/ebin/dbexp.beam
> > > /var/yaws/ebin/email.beam
> > > /var/yaws/ebin/expcache.beam
> > > /var/yaws/ebin/experror.beam
> > > /var/yaws/ebin/expmaster.beam
> > > /var/yaws/ebin/filewatch.beam
> > > /var/yaws/ebin/m3m_404.beam
> > > /var/yaws/ebin/mxml.beam
> > > /var/yaws/ebin/myappmod.beam
> > > /var/yaws/ebin/odbcsrv.beam
> > > /var/yaws/ebin/shopcart.beam
> > >
> > >
> > > and now URL http://localhost/mxml calls appmod mxml
> > >
> > >
> > > ~Michael
> > >
> > >
> > > On Thu, Aug 17, 2006 at 03:32:57PM -0500, Martin Logan wrote:
> > > > It is part of a path. If I start yaws with the shell I can type in
> > > > pwr_main_controller_appmod, hit tab, and get a list of the functions
> > > > in the module from the shell.
> > > >
> > > > On 8/17/06, Michael McDaniel <yaws@autosys.us> wrote:
> > > > > ebin_dir=/some/path
> > > > >
> > > > > is pwr_main_controller_appmod in /some/path ?
> > > > >
> > > > >
> > > > > ~Michael
> > > > >
> > > > >
> > > > > On Thu, Aug 17, 2006 at 02:53:52PM -0500, Martin Logan wrote:
> > > > > > I am having a problem getting appmods to work. I have the following
> > > > > > in my yaws.conf file
> > > > > >
> > > > > > <server localhost>
> > > > > > port = 8080
> > > > > > listen = 0.0.0.0
> > > > > > docroot = /tmp
> > > > > > appmods = <pwr, pwr_main_controller_appmod>
> > > > > > dir_listings = true
> > > > > > dav = true
> > > > > > <auth>
> > > > > > realm = foobar
> > > > > > dir = /
> > > > > > user = foo:bar
> > > > > > user = baz:bar
> > > > > > </auth>
> > > > > > </server>
> > > > > >
> > > > > > I have a module called pwr_main_controller_appmod.erl and it is loaded
> > > > > > when yaws starts. It exports an out/1 function that returns {html,
> > > > > > "some html"} but when I surf to www.martinjlogan.com:8080/pwr/... I am
> > > > > > told that there is no such path found on the server. I can't find
> > > > > > anything in the logs to explain it. Anyone have an idea why?
> > > > > >
> > > > > > Cheers,
> > > > > > Martin
> > > > > >
> > > > > > -------------------------------------------------------------------------
> > > > > > 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
> > > > >
> > > > > --
> > > > > Michael McDaniel
> > > > > Portland, Oregon, USA
> > > > > http://autosys.us
> > > > > +1 503 283 5284
> > > > >
> > > > > -------------------------------------------------------------------------
> > > > > 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
> > >
> > > --
> > > Michael McDaniel
> > > Portland, Oregon, USA
> > > http://autosys.us
> > > +1 503 283 5284
> > >
> > > -------------------------------------------------------------------------
> > > 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
>
> --
> Michael McDaniel
> Portland, Oregon, USA
> http://autosys.us
> +1 503 283 5284
>
> -------------------------------------------------------------------------
> 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 |
|
|
| Back to top |
|
| wuji |
Posted: Tue Sep 18, 2012 7:44 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
long-dead king of rock 'n roll."You name it, I got got [h4]cheap jordan shoes[/h4] got it," he confessed to ABCNews.com.Cary's multiple televisions and DVDs
Elvis around the clock, and on weekends at city clubs clubs replica designer *beep* clubs and in national gigs, he becomes Elvis."When I'm dressed
like Elvis, I feel like Superman. I'm the king of of cheap jordans for sale of rock 'n roll -- TCB," says Cary, quoting Elvis
acronym for "taking care of business," a phrase the singer singer cheap jordans free shipping singer coined when his life, like Cary's, began its downward
am poor man, but my things make me feel rich."Cary's rich."Cary's [h2]cheap jordan shoes[/h2] rich."Cary's story kicks off the first episode in the fourth
of TLC's "Hoarding: Buried Alive," which airs Sunday, July 8 8 cheap designer *beep* 8 at 9 p.m. The series examines the lives of
whose emotional attachment to objects causes serious health and safety safety [h1]authentic jordans[/h1] safety dangers and threatens their relationships with family and friends."The
Cary doesn't exist anymore," says his friend Joe, who, with with cheap replica *beep* with wife Francesca on the TV show, unsuccessfully tries to
clear a pathway through the bags of food and debris debris cheap authentic jordans debris that eat up every inch of Cary's apartment."There is |
|
|
| 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
|
|
|