SKay
SKay

Reputation: 147

monkey webserver cgi configuration

i installed monkey webserver, the html static pages are working.

I want to configure cgi execution in monkey webserver.

I compiled with cgi plugin, and monkey executable is loading with cgi plugin. I enabled HANDLERS for cgi (Match /cgi-bin/.*.\cgi cgi) in monkey/conf/sites/default file.

I CAN NOT find cgi.conf inside conf/plugins/ directory. and not sure how to enable a cgi-bin directory path for scripts.

I create monkey/cgi-bin directory and tried writing a (hello.c) C file hello world program and renamed the the executable file as hello.cgi and tried executing through http://localhost:8888/cgi-bin/hello.cgi. But it says 'unable to connect.'

then i tried moving the cgi-bin directory in monkey/htdocs folder, it gives black page.

Want some one to help how to configure cgi-bin path on monkey web server.

Upvotes: 0

Views: 448

Answers (1)

SKay
SKay

Reputation: 147

have cgi-bin folder inside htdocs folder. Cgi should work.

Upvotes: 2

Related Questions