Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zdavatz
Created February 9, 2011 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdavatz/818788 to your computer and use it in GitHub Desktop.
Save zdavatz/818788 to your computer and use it in GitHub Desktop.
mod_ruby Linux config Apache
<VirtualHost *:80>
DocumentRoot /var/www/de.oddb.org/doc
ServerName de.oddb.org
DirectoryIndex index.rbx
RubyAddPath /var/www/de.oddb.org/lib
RubyRequire 'sbsm/trans_handler'
SetHandler ruby-object
RubyTransHandler SBSM::ZoneTransHandler.instance
SetEnv DEFAULT_FLAVOR oddb
SetEnv DRB_SERVER druby://localhost:11000
Alias /rss /var/www/de.oddb.org/var/rss
Alias /images /var/www/de.oddb.org/var/images
Alias /captcha /var/www/de.oddb.org/var/captcha
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment