AllowOverride AuthConfig Order allow,deny Allow from all Options +ExecCGI ### this is the relevant piece ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/" #### http://localhost/cgi-bin/your-script.pl