I use CentOS 7.
Where the directory new-cgi and the file foo.cgi must be created ?
I've created two times: /var/www/new-cgi/foo.cgi and /etc/httpd/new-cgi/foo.cgi
As for /etc/httpd/conf.d/newscript.conf file, have you checked scripts directory ? Is it Ok ?
find / -name scripts
Step 2.What does "include" mean ? Should I correct anything ?
After restarting httpd, I've got my error:
w3m -dump http://10.83.23.220/scripts/foo.cgi?bar
You don't have permission to access /scripts/foo.cgi on this server.
w3m -dump http://127.0.0.1/index.html
This is my default file
Pls help me to understand my issue in such terrible labs.