First, thanks a lot for this extremely valuable module and their latest improvements. Please, keep it rolling.
Recently I'm in the uncomfortable task of installing a drupal on a IIS server. This is the scenario:
- IIS 6.0
- PHP 5.2.5 (with mbstring, gd2 and mysql extensions enabled).
- Full permissions for files directory (where webfm subdirectories resides) for IIS_WPG user
- Without mod_rewrite support
I full reviewed my webfm configuration and looks fine (at least, as good as in my gnu/Linux servers).
At the end I always get a "server is unreachable" error and, due an administration privileges I'm unable to see the log files.
Any clue about what is happening?
Thanks a lot in advance,
m.
Comments
Comment #1
mvaneck commentedHi mbria, I'm experiencing the same problem, were you able to solve this problem? It's the AJAX part that reports the error, no idea how to solve this.
Thanks in advance,
regards,
Mike
Comment #2
mvaneck commentedI solved my problem, it had to do with the URL rewrite option which is by default not available on IIS.
Look at webfm.js, the function:
Webfm.ajaxUrl = function() {
var path = getBaseUrl() + "/?q=";
return path += (typeof getModUrl == "undefined") ? "webfm_js" : getModUrl();
}
I changed into:
Webfm.ajaxUrl = function() {
var path = getBaseUrl() + "/index.php?q=";
return path += (typeof getModUrl == "undefined") ? "webfm_js" : getModUrl();
}
Then, a correct page is requested from IIS, and all works fine! The added index.php does the trick.
However, there should be a url-rewriting test or parameter to make it more beautiful, that it works out-of-the-box.
I found out that the resulting error was a 405 error, illegal verb in HTTP request, that triggered me to look further.
Good luck!
Regards, Mike.