Help for this page

Select Code to Download


  1. or download this
    ps -ef | grep httpd
    # this will show you the user id of the web server
    
  2. or download this
    ls -al /my/path
    
  3. 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
    
  4. 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.