Skip to content

Instantly share code, notes, and snippets.

@zdavatz zdavatz/gist:818519
Created Feb 9, 2011

Embed
What would you like to do?
httpd_vhosts.conf Apache 2.2.17 Windows mod_ruby in C:\Apache2.2\conf\extra
NameVirtualHost *:80
<VirtualHost *:80>
ServerName de.oddb.win
DocumentRoot C:\Users\zdavatz\de.oddb.org\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'
SetHandler ruby-object
RubyTransHandler SBSM::ZoneTransHandler.instance
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
<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>
<Directory C:\Users\zdavatz\de.oddb.org\doc>
Options ExecCGI
AddHandler cgi-script .rbx
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.