On Wed, Jun 15, 2016 at 06:26:28PM +1000, Travis Paul wrote:
> 
> > On Jun 15, 2016, at 5:03 PM, co...@sdf.org wrote:
> > 
> > Trying to get GET/POST info.
> > 
> > I feel like I've tried all the examples I could find, and they all fail
> > with an error like:
> > failed to execute script /var/www/hello.lua: /var/www/hello.lua:70:attempt 
> > to index a nil value (global 'httpd')
> > 
> > Where that is httpd.register_handler(...)
> > 
> > What would be a valid way to get any input from a user using bozo&httpd?
> > 
> > Thanks.
> > 
> 
> 
> Have you tried the example here: src/libexec/httpd/printenv.lua
> 
> Last time I tried, that example worked.  I’m traveling and not near a NetBSD 
> box at the moment :(
> 
> If that fails can you share the command line args you are using with httpd?
> 
> Best,
> Travis P

Seems good now that I am following it word to word.
I'm not sure what I was doing wrong before.

Thanks!

Reply via email to