- or download this
ps -ef | grep httpd
# this will show you the user id of the web server
- or download this
ls -al /my/path
- or download this
# httpd group (you can find out from the /etc/password
# and /etc/group files
chgrp -R httpd /my/path
chmod -R g+rx /my/path
- or download this
su - httpd
# set uid to httpd user, assuming that you are the
...
# run your cgi script from the command line.
# you don't need to use a browser to test the cgi script.