in reply to Re: running cgi scripts locally
in thread running cgi scripts locally
I've got the following entry in my (apache 1.3) configuration:
# # UserDir: The name of the directory which is appended onto a user's h +ome # directory if a ~user request is received. # <IfModule mod_userdir.c> UserDir public_html # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # <Directory /home/*/public_html> AllowOverride All AddHandler perl-script .cgi Options All +ExecCGI <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK> Order deny,allow Deny from all </Limit> </Directory> </IfModule>
Which means that every user's "public_html" directory in their homedir is accessible as http://localhost/~username/ and that files ending in .cgi will be run as cgi scripts.
|
|---|