indexing - Using CGI page as directory index in Boa web server -


i using boa web server on arm based board. wish use cgi script home page.

in boa.conf, used option

directoryindex index.cgi 

however, when entering ip of host board in browser, error 403, , page accessible if manually add /index.cgi address bar.

when changing

directoryindex index.html 

everything works fine.

i've tried playing around alias , scriptalias didn't help. realize can use html redirect index.html last resort, feel there must better way.

so i've found this patch

it written around boa-0.94.14rc20 while i'm using boa-0.94.13

i've managed compile , work changing following line:

req->cgi_type = cgi; 

to

reg->is_cgi = cgi; 

this still isn't perfect though since passing parameters cgi page in boa.conf still results in error 403.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -