Created
February 10, 2011 08:31
-
-
Save zdavatz/820138 to your computer and use it in GitHub Desktop.
mod_ruby.so vhosts.conf Windows Apache 2.2.17
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
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerName de.oddb.win | |
DocumentRoot C:\Ruby-1.8.6-oniguruma\lib\ruby\gems\1.8\gems\de.oddb-2.0.0\doc | |
DirectoryIndex index.rbx | |
RubyAddPath 'C:/Ruby-1.8.6-oniguruma/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/lib' | |
RubyRequire 'sbsm/trans_handler' | |
RubyTransHandler SBSM::ZoneTransHandler.instance | |
<Directory C:\Ruby-1.8.6-oniguruma\lib\ruby\gems\1.8\gems\de.oddb-2.0.0\doc> | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
<Files "index.rbx"> | |
RubyHandler Apache::RubyRun.instance | |
SetHandler ruby-object | |
</Files> | |
</Directory> | |
<Directory 'C:/Ruby-1.8.6-oniguruma/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/var/images'> | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Directory 'C:/Ruby-1.8.6-oniguruma/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/var/captcha'> | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Directory "C:/Ruby-1.8.6-oniguruma/lib/ruby/gems/1.8/gems/de.oddb-2.0.0/var/rss"> | |
AllowOverride None | |
Order allow,deny | |
Allow from all | |
</Directory> | |
SetEnv DEFAULT_FLAVOR oddb | |
SetEnv DRB_SERVER druby://localhost:11000 | |
Alias /rss C:\Ruby-1.8.6-oniguruma\lib\ruby\gems\1.8\gems\de.oddb-2.0.0\var\rss | |
Alias /images C:\Ruby-1.8.6-oniguruma\lib\ruby\gems\1.8\gems\de.oddb-2.0.0\var\images | |
Alias /captcha C:\Ruby-1.8.6-oniguruma\lib\ruby\gems\1.8\gems\de.oddb-2.0.0\var\captcha | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment