############################# # This is an exerpt from /home/httpd/conf/httpd.conf # which tell the apache server to run files that end in .cgi # as CGI scripts, anywhere on bob.marlboro.edu. ####################################################### # Default permissions - allow execution of CGI # (We've set up bob to be more permissive than a typical web server...) Options FollowSymLinks ExecCGI Indexes MultiViews Includes AllowOverride All # Define "html" as the user's subdirectory where web files are kept. # In other words, the url http://bob.marlboro.edu/~smith/hello.txt # will be translated as the file /home/smith/html/hello.txt on bob. UserDir html # AddHandler allows you to map certain file extensions to "handlers", # actions unrelated to filetype. These can be either built into the server # or added with the Action command (see below) # # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # AddHandler cgi-script .cgi