Configuring Apache for Ruby CGI
1 2 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 3 4 <Directory "/usr/lib/cgi-bin"> 5 AllowOverride None 6 Options +ExecCGI +Indexes 7 Order allow,deny 8 Allow from all 9 </Directory> 10
Note: Don't forget to make the script file executable.