YAFLogo

arika
  • arika
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
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
11 years ago
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
  • Dr-Hack
  • 100% (Exalted)
  • YAF All-the-Time
11 years ago

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

Originally Posted by: arika 

you may make a new Subdomain from your domain CP - and then place yaf file there ..

squirrel
11 years ago
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
11 years ago
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