Created
February 10, 2011 08:33
-
-
Save zdavatz/820139 to your computer and use it in GitHub Desktop.
mod_ruby vhosts.conf Linux
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
<Directory /var/www/de.oddb.org/doc> | |
Options ExecCGI | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Directory /var/www/de.oddb.org/var/images> | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Directory /var/www/de.oddb.org/var/captcha> | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Directory /var/www/de.oddb.org/var/rss> | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<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