diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index caa2f5a..ca25bea 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1239 \ No newline at end of file +1241 \ No newline at end of file diff --git a/IISMainHandler/HandlersFactory.cs b/IISMainHandler/HandlersFactory.cs index f7bcb2f..a072539 100644 --- a/IISMainHandler/HandlersFactory.cs +++ b/IISMainHandler/HandlersFactory.cs @@ -13,7 +13,10 @@ namespace FLocal.IISHandler { // return new handlers.WrongUrlHandler(); // throw new FLocalException("Malformed url"); // } - if(context.requestParts.Length < 1) return new handlers.RootHandler(); + if(context.requestParts.Length < 1) { + //return new handlers.RootHandler(); + throw new RedirectException("/Boards/"); + } #region legacy if(context.httprequest.Path.ToLower().StartsWith("/user/upload/")) {