NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bozohttpd and lua, getting input from user
> On Jun 15, 2016, at 5:03 PM, coypu%SDF.ORG@localhost 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
Home |
Main Index |
Thread Index |
Old Index