how can I get my CGI script to run with my own userid?
Posted on 1998-09-30
I've just moved my web site from one server to another. They're both redhat linux boxes. One the old server, when a visitor to my page caused my CGI script to run, it ran with my own userid, so the script was able to update log files and such like, but on the new server the script always runs as the 'nobody' user (which is the user who is running the httpd processes). So how can I change it to run as myself? I've been told that maybe using a .htaccess file would do it, but I've tried and failed. The root user on the server is willing to change the server configuration if that's necessary, too.