Dear Günter On Thu, Feb 10, 2011 at 10:22 AM, Guenter Knauf <[email protected]> wrote:
> Am 10.02.2011 09:48, schrieb Zeno Davatz: >> >> It seems that Apache for Windows interprets vhosts.conf files >> differently then Apache for Linux does. I am asking this question >> related to mod_ruby. Both Apaches (Linux and Windows) start fine with >> mod_ruby.so loaded. >> >> This vhosts.conf file on Linux Apache 2.2.14-r1 works just fine. Ruby >> is executed: >> >> https://gist.github.com/820139 >> >> this vhosts.conf file on Windows Apache 2.2.17 >> >> https://gist.github.com/820138 >> >> delivers the index.rbx file as plain text instead of executing it as >> Ruby-Script. The vhosts.conf file was modified because of below issue. >> It seems to me that this is connected to this issue here: >> https://issues.apache.org/bugzilla/show_bug.cgi?id=25435 >> >> Is it normal, that a vhosts.conf on Linux can _not_ be assumed to work >> on Windows as well? Or is this an issue with mod_ruby not yet working >> correctly with Apache for Windows? Ruby is in my System path on >> Windows. > > I have not (yet) looked at your links, but want to give you another hint > which might (or not) reveal some differences between your Linux and Win32 > installation: load mod_info on both boxes, and try to compare the config > directives; usually if you use a httpd from Linux distro the configuration > is splitted into several config files, and also distros come along with > their own modified mime.types and magic files ... > this can all cause different behaviour ... This is the main difference between Windows an Linux that I can see by the Server-Info for mod_ruby.c: Windows: Configuration Phase Participation: Create Directory Config, Merge Directory Configs, Create Server Config, Merge Server Configs Request Phase Participation: none Linux (has more info in Request Phase Participation): Configuration Phase Participation: Create Directory Config, Merge Directory Configs, Create Server Config, Merge Server Configs Request Phase Participation: Post-Read Request, Translate Name, Check Access, Verify User ID, Verify User Access, Check Type, Fixups, Content Handlers, Logging Now I do not yet understand if that has any meaning or not. Best Zeno
