arika
  •  arika
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
2012-10-27T13:27:07Z
hi guys,
I just installed YAF

and when I click login. it takes me to forums.xxxxx.com/forum/yaf_login.aspx

And says it cannot find default.aspx

I added a default page, but it still gives errors.

please advise
many thanks
Ehi
Sponsor
arika
  •  arika
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
2012-10-27T13:34:16Z
Sorry ignore this, i found it.

http://forum.xxxx.com/forum 

http://forums.xxxxx.com 

dont know how to correct the error, so copied the root files to the forum folder for now

thanks
Dr-Hack
2012-10-27T13:56:39Z
Originally Posted by: arika 

Sorry ignore this, i found it.

http://forum.xxxx.com/forum 

http://forums.xxxxx.com 

dont know how to correct the error, so copied the root files to the forum folder for now

thanks



you may make a new Subdomain from your domain CP - and then place yaf file there ..
squirrel
2012-10-27T20:12:37Z
The issue is that the YAF.Approot, YAF.Fileroot, and YAF.BaseURLMask need to be properly configured in the app.config -- if you get those set properly, the forum will properly resolve links and 'missing files'.

I was searching for Jaben's post last night that outlines how they work and what to set. I will try to find it again this afternoon --

If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
squirrel
2012-10-27T21:20:31Z
If you have YAF installed to a folder on your hosting called /forum and that folder is configured as an IIS Application in your hosting control panel, and you want it to run as a subdomain, this should work:

<add key="YAF.BaseUrlMask" value="http://forum.xxxxxx.com" />
<add key="YAF.ServerFileRoot" value="~/" />
<add key="YAF.ClientFileRoot" value="~/" />
<add key="YAF.AppRoot" value="~/" />
<add key="YAF.ForceScriptName" value="default.aspx" />

The ServerFileRoot and Client File Root are relative to the "IIS Virtual Application" root that you created when you made the /forum folder an IIS Virtual Application. This is the method where everything YAF (including the /bin folder in the distribution) runs in it's own folder completely and totally isolated from the rest of your sites. By setting the YAF.BaseUrlMask value above, you set YAF to properly set links to the subdomain name.

Backup your app.config, then find and update above values - make sure they are not commented out - then restart YAF application. (Adapted from Jaben's post about how the support forum is configured to run on subdomain - he has YAF and other apps mixed, so ServerFileRoot and ClientFileRoot have to point directly to YAF files)
If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 

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