Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Configuring Apache for Ruby CGI

When using Apache on Ubuntu add the following configuration to the httpd.conf file within the file directory /etc/apache2.

   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.
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS