• Posts: 2
  • Joined: 27/05/2009
Hi All,

I have a website with a virtual directory of /forum that I installed the forum software into so that it is considered it's own web application. I can get the landing page, but anything after that has /forum/forum in the link. My app.config is as follows:

<add key="YAF.BoardID" value="1" />
<add key="YAF.EnableURLRewriting" value="false" />
<add key="YAF.DatabaseObjectQualifier" value="yaf_" />
<add key="YAF.DatabaseOwner" value="dbo" />
<add key="YAF.ProviderExceptionXML" value="ProviderExceptions.xml" />
<add key="YAF.UploadDir" value="~/upload/" />
<add key="YAF.ProviderKeyType" value="System.Guid" />
<add key="YAF.BaseUrl" value="~/forum" />
<add key="YAF.BaseUrlOverrideDomain" value="false" />
<add key="YAF.RadEditorSkin" value="Black" />
<add key="YAF.UseRadEditorToolsFile" value="true" />
<add key="YAF.RadEditorToolsFile" value="editors/radEditor/toolsFile.xml" />
<add key="YAF.ConfigPassword" value="888888888" />

I've tried changing the BaseUrl to just ~/ but that doesn't work either. Any ideas or pointers on what's going wrong?
  • Posts: 189
  • Joined: 09/08/2008
Because you made yaf its own application, it should be ~/

I don't see YAF.root in what you posted - that should also be ~/

not jsheLPer
  • Posts: 2
  • Joined: 27/05/2009
I tried putting this line into the app.config:

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

and it still didn't work. I also tried ~/forum and that didn't work either. Funny thing, when I create a virtual directory called YAF underneath the website and point it to the same folder, everything works fine. Unfortunately, I can't have that so I'm stuck with trying to troubleshoot this /forum/forum issue.

  • Posts: 3
  • Joined: 08/08/2009

Did you find a solution for this /forum/forum problem?

Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

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