YAFLogo

MikiBear
  • MikiBear
  • 53.8% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Hi,

I just copied my Forum to the webserver. It runs inside an existing asp.net application in the sub directory 'forum'.

My app.config looks like this


<appSettings> 
<add key="YAF.ConfigPassword" value="pass" />
<add key="YAF.BoardID" value="1" />
<add key="YAF.URLRewritingMode" value="Translit" />
<add key="YAF.UseSMTPSSL" value="false" />  
<add key="YAF.DatabaseObjectQualifier" value="yaf_" />
<add key="YAF.DatabaseOwner" value="dbo" />
<add key="YAF.ConnectionStringName" value="yafnet" />
<add key="YAF.ProviderExceptionXML" value="ProviderExceptions.xml" />
<add key="YAF.ProviderKeyType" value="System.Guid" />
<add key="YAF.MobileUserAgents" value="iphone,ipad,midp,windows ce,windows phone,android,blackberry,opera mini,mobile,palm,portable,webos,htc,armv,lg/u,elaine,nokia,playstation,symbian,sonyericsson,mmp,hd_mini"/>

<add key="YAF.FileRoot" value="~/forum/"/>
  <add key="YAF.AppRoot" value="~/forum/"/>
  <add key="YAF.EnableURLRewriting" value="true" />
  <add key="YAF.BaseUrlMask" value="http://my.domain.com" />

    <add key="YAF.BaseScriptFile" value="forum.aspx" />
    <add key="YAF.ForceScriptName" value="forum.aspx" />

  <!-- RadEditor configuration settings-->
  <add key="YAF.RadEditorSkin" value="Black"/>
  <add key="YAF.UseRadEditorToolsFile" value="true"/>
  <add key="YAF.RadEditorToolsFile" value="/forum/editors/radEditor/toolsFile.xml" />
  <!-- RadEditor configuration settings-->
</appSettings>

The Link in the verify email contain the "forum" directory twice like this

http://my.domain.com/ forum/forum/yaf_approve.aspx?k=6473ACD9044E6EFDA75EB7C11155F03B

- also in admin information mails.

Of course this causes errors.

I don't understand why this appears and tried a lot, but couldn't solve it.

Does anyone have an idea?

Sponsor
AspenLF2
  • AspenLF2
  • 50.2% (Neutral)
  • YAF Forumling
12 years ago
Not an expert however...

If you have AppRoot set to ~/forum/ you do not need to set FileRoot

johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time
12 years ago
Try this: Remove basescriptname tag

In forcescriptname tag, change value to default.aspx