Fix Redirections when installed on other directories.

This commit is contained in:
2015-08-28 00:36:22 +02:00
parent 0d39f87789
commit d350f154b7
8 changed files with 13 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ namespace VAR.Focus.Web.Code.BusinessLogic
private List<Session> _sessions = new List<Session>();
private string _cookieName = "ScrummerSID";
private string _cookieName = "FocusSID";
private int _cookieExpirationDays = 30;
#endregion

View File

@@ -21,7 +21,7 @@ namespace VAR.Focus.Web.Controls
public bool IsReusable
{
get { throw new NotImplementedException(); }
get { return false; }
}
public void ProcessRequest(HttpContext context)

View File

@@ -21,7 +21,7 @@ namespace VAR.Focus.Web.Controls
public bool IsReusable
{
get { throw new NotImplementedException(); }
get { return false; }
}
public void ProcessRequest(HttpContext context)

View File

@@ -43,7 +43,7 @@ namespace VAR.Focus.Web.Pages
}
Sessions.Current.Session_Init(Context, _txtNameEmail.Text);
Response.Redirect(".");
Response.Redirect(Globals.DefaultHandler);
}
#endregion

View File

@@ -65,7 +65,7 @@ namespace VAR.Focus.Web.Pages
void btnExit_Click(object sender, EventArgs e)
{
Response.Redirect(".");
Response.Redirect(Globals.DefaultHandler);
}
#endregion

View File

@@ -12,10 +12,6 @@ by editing this MSBuild file. In order to learn more about this please visit htt
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>True</ExcludeApp_Data>
<publishUrl>..\Published</publishUrl>
<DeleteExistingFiles>True</DeleteExistingFiles>
<PrecompileBeforePublish>True</PrecompileBeforePublish>
<EnableUpdateable>False</EnableUpdateable>
<DebugSymbols>False</DebugSymbols>
<WDPMergeOption>DonotMerge</WDPMergeOption>
<DeleteExistingFiles>False</DeleteExistingFiles>
</PropertyGroup>
</Project>
</Project>

View File

@@ -20,6 +20,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<TargetFrameworkProfile />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -65,7 +66,9 @@
<Content Include="Styles\02. Boards.css" />
<Content Include="Styles\05. Cards.css" />
<Content Include="Styles\10. Chat.css" />
<Content Include="Web.config" />
<Content Include="Web.config">
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
<Compile Include="Code\Bundler.cs" />
@@ -133,7 +136,7 @@
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>31337</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:31337/</IISUrl>
<IISUrl>http://localhost:31337/VAR.Focus</IISUrl>
<OverrideIISAppRootUrl>True</OverrideIISAppRootUrl>
<IISAppRootUrl>http://localhost:31337/</IISAppRootUrl>
<NTLMAuthentication>False</NTLMAuthentication>

View File

@@ -12,6 +12,7 @@
</system.web>
<system.webServer>
<handlers>
<clear/>
<add name="GlobalRouter" path="*" verb="*" type="VAR.Focus.Web.GlobalRouter"/>
</handlers>
</system.webServer>