Question Locked

Apache CGI fun? Script right advice needed

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Ok, gang.

I've made it this far in my career without using CGI, but that's about to change.

So I built my Apache 2 server and it's running good.

Added some HTML, HTML works fine.

Embedded some script to run on CGI, and ran into errors. Checked the log and got "access denied" for using the script in the Apache log.

Made a new user called Apache, and set password.

How do I configure the (Debian) box so that when someone visits the page and does post on the form, it runs the cgi-script using the Apache account?

Obviously, I don't want the script to run as root for reasons that should be clear.

Total CGI noob, thx in advance.

=-)

1 reply

This discussion is closed to new replies.