| Author |
Message |
|
| dmitriid |
Posted: Fri Dec 28, 2007 2:03 pm |
|
|
|
User
Joined: 17 Aug 2006
Posts: 213
|
I've not given up on ErlyWeb yet
yaws.conf:
|
|
|
| Back to top |
|
| Guest |
Posted: Fri Dec 28, 2007 2:20 pm |
|
|
|
Guest
|
Is this a case of yaws changing its record format again? I know that
this has been a problem in the past.
--Kevin
On Dec 28, 2007, at 9:03 AM, Dmitrii 'Mamut' Dimandt wrote:
> I've not given up on ErlyWeb yet
>
> yaws.conf:
> <server localhost>
> port = 81
> listen = 0.0.0.0
> docroot = /home/dmitriid/data/www/erlyweb
> dir_listings = true
> appmods = </, erlyweb>
> <opaque>
> appname = buktu
> </opaque>
> </server>
>
> Then:
> erlyweb:create_app("buktu", "/home/dmitriid/data/www/erlyweb").
> > all ok.
> Then:
> erlyweb:compile("/home/dmitriid/data/www/erlyweb/buktu",
> [{auto_compile, true}]).
> > all ok.
>
> Then navigate to http://localhost:81/ and:
> Internal error, yaws code crashed
>
> ERROR erlang code crashed:
> File: appmod:0
> Reason: {{badrecord,arg},
> [{yaws_arg,opaque,1},
> {erlyweb,get_app_name,1},
> {erlyweb,out,1},
> {yaws_server,deliver_dyn_part,8},
> {yaws_server,aloop,3},
> {yaws_server,acceptor0,2},
> {proc_lib,init_p,5}]}
> Req: {http_request,'GET',{abs_path,"/"},{1,1}}
>
> Once again I'm lost
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Fri Dec 28, 2007 5:45 pm |
|
|
|
Guest
|
Ugh, you must be using a different version of Yaws than the one I
compiled against. I compiled against 1.73. You can either recompile
ErlyWeb yourself against your Yaws installation or upgrade Yaws.
On Dec 28, 2007 6:14 AM, Kevin A. Smith <kevin@hypotheticalabs.com> wrote:
>
> Is this a case of yaws changing its record format again? I know that
> this has been a problem in the past.
>
> --Kevin
>
> On Dec 28, 2007, at 9:03 AM, Dmitrii 'Mamut' Dimandt wrote:
>
> > I've not given up on ErlyWeb yet
> >
> > yaws.conf:
> > <server localhost>
> > port = 81
> > listen = 0.0.0.0
> > docroot = /home/dmitriid/data/www/erlyweb
> > dir_listings = true
> > appmods = </, erlyweb>
> > <opaque>
> > appname = buktu
> > </opaque>
> > </server>
> >
> > Then:
> > erlyweb:create_app("buktu", "/home/dmitriid/data/www/erlyweb").
> > > all ok.
> > Then:
> > erlyweb:compile("/home/dmitriid/data/www/erlyweb/buktu",
> > [{auto_compile, true}]).
> > > all ok.
> >
> > Then navigate to http://localhost:81/ and:
> > Internal error, yaws code crashed
> >
> > ERROR erlang code crashed:
> > File: appmod:0
> > Reason: {{badrecord,arg},
> > [{yaws_arg,opaque,1},
> > {erlyweb,get_app_name,1},
> > {erlyweb,out,1},
> > {yaws_server,deliver_dyn_part,8},
> > {yaws_server,aloop,3},
> > {yaws_server,acceptor0,2},
> > {proc_lib,init_p,5}]}
> > Req: {http_request,'GET',{abs_path,"/"},{1,1}}
> >
> > Once again I'm lost
> >
> > >
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| dmitriid |
Posted: Sat Dec 29, 2007 10:45 am |
|
|
|
User
Joined: 17 Aug 2006
Posts: 213
|
Yariv Sadan wrote: Quote: Ugh, you must be using a different version of Yaws than the one I compiled against. I compiled against 1.73. You can either recompile ErlyWeb yourself against your Yaws installation or upgrade Yaws. [/code] I went the easy (?) way and installed yaws 1.73. Argh! I must be stupid or something:
|
|
|
| Back to top |
|
| Guest |
Posted: Sat Dec 29, 2007 10:21 pm |
|
|
|
Guest
|
"and navigate to http://localhost:81/, I get erlyweb's welcome screen.
"
you get that because the docroot is www and there is an index.html
file in there. It's just straight up yaws webserver, No Erlyweb is
being called.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| dmitriid |
Posted: Sun Dec 30, 2007 1:29 pm |
|
|
|
User
Joined: 17 Aug 2006
Posts: 213
|
On 12/30/07, andrewfromfly <oneone@gmail.com (oneone@gmail.com)> wrote:Quote:
"and navigate to http://localhost:81/, I get erlyweb's welcome screen.
"
you get that because the docroot is www and there is an index.html
file in there. |
|
|
| 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 cannot attach files in this forum You cannot download files in this forum
|
|
|