Linux Notes – Users’ cgi setting

User Directories

To allow CGI program execution for any file ending in .cgi in users’ directories, you can use the following configuration.

Options +ExecCGI
AddHandler cgi-script .cgi

If you wish designate a cgi-bin subdirectory of a user’s directory where everything will be treated as a CGI program, you can use the following.

Options ExecCGI
SetHandler cgi-script

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.