# Helps insure .cgi and .pl files are loaded MultiviewsMatch Handlers Filters AddHandler cgi-script cgi AddHandler cgi-script pl #### Options Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI #### # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the target directory are treated as applications and # run by the server when requested rather than as documents sent to the # client. The same rules about trailing "/" apply to ScriptAlias # directives as to Alias. # # DO modify the following line "the second part" to # reflect the EXACT location of your cgi-bin directory -- I think it's # /var/www/cgi-bin, or /opt/... on Linux flavors. You'll need to check ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" #### LoadModule cgi_module libexec/apache22/mod_cgi.so