Created
February 9, 2011 14:00
-
-
Save zdavatz/818519 to your computer and use it in GitHub Desktop.
httpd_vhosts.conf Apache 2.2.17 Windows mod_ruby in C:\Apache2.2\conf\extra
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:\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