hmm...
This rule in dispatch.conf
{dynamic, "^/item/show/(?<id>[0-9]+)$", {browser, show_item}}.
does not work for me for "/item/show/1".
You can try this one:
{dynamic, "^/item/show/([0-9]+)$", {browser, show_item}}.
On Thu, Mar 18, 2010 at 9:43 AM, Jeffm <je...@ghostgun.com> wrote:
> Following the tutorial at
>
> http://wiki.erlang-web.org/Tutorial/Step1_Setup
>
> with release 1.4 of erlang web. I get up to testing /item/show/1 but I
> get a 404 in the web browser. My first suspicions was that I'd mistyped
> the dispatch rules in dispatch.conf, so I cut and pasted them from the
> tutorial then restarted erlang web. I also added an io:format/2 to the
> browser:show_item/1 to see if it at lest made it this far...doesn't
> appear that it does. The log says,
>
> e_mod_gen module, error: 404: "/item/show/1"
>
> What should I check next?
>
> thanks,
> Jeff.
>
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Erlangweb-users mailing list
> Erlangweb-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlangweb-users
> http://www.erlang-web.org/
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Erlangweb-users mailing list
Erlangweb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlangweb-users
http://www.erlang-web.org/