Created
February 9, 2011 16:48
-
-
Save zdavatz/818788 to your computer and use it in GitHub Desktop.
mod_ruby Linux config Apache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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