Lakario
  •  Lakario
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
2010-01-20T12:04:12Z
I am trying to setup YAF in a subdirectory and although it is partially operational, I am hitting a few hiccups.

Firstly, the root setting doesn't work at all. Despite specifying it, all of the Urls still point to ~/default.aspx rather than ~/forum/default.aspx.

<appSettings>
    <add key="YAF.Root" value="~/forum" />
    <add key="YAF.BaseUrl" value="~/forum" />  
</appSettings>


Edit

Consider updating your documentation so that it's actually accurate. In order to host YAF in a subdirectory the following appsettings must be set accordingly:

<add key="YAF.FileRoot" value="~/forum/" />
<add key="YAF.AppRoot" value="~/forum" />
<add key="YAF.BaseUrl" value="~/forum" />


Setting YAF.Root has no effect on the application whatsoever.
Sponsor

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved