Question
August 1, 2008 at 06:44 AM
andrewchristiandc

Apache CGI fun? Script right advice needed

by andrewchristiandc . Updated 18 years ago

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.

=-)

This discussion is locked

All Comments