» tagged pages
» logout
Ruby
Return to Code Snippets: ruby

Configuring Apache for Ruby CGI

Tags Applied to this Entry

1 person has tagged this page:
When using Apache on Ubuntu add the following configuration to the httpd.conf file within the file directory /etc/apache2.


ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/


AllowOverride None
Options +ExecCGI +Indexes
Order allow,deny
Allow from all




Note: Don't forget to make the script file executable.
Username:
Password:
(or Cancel)