I'm getting Server Unreachable on IIS6 - the IISUSR has modify rights to the webroot folder, the specified directory in the webfm admin settings is accepted, but still the message 'Server Unreachable' keeps popping up. In other posts I read about the mod_rewrite, which is not supported by IIS by default, which could cause the problem. I can't use absolute paths, it results in an error (it postfixes the info after the default directory (in admin/file)

What could be the solution?
thanks in advance,

Regards,
Mike.

Comments

mvaneck’s picture

Status: Active » Fixed

I 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.