mauisys
  •  mauisys
  • 67.4% (Friendly)
  • YAF Camper Topic Starter
2015-01-26T20:08:44Z
Are your .config files located in the /forum/ directory?

I have a /forum/ directory that contains all of the YAF files and directories.

I also have the YAF application on the server pointing to that same /forum/ directory.

I read somewhere about pulling those files out and placing them in the root directory of the site.

Thanks again!!
Zero2Cool
2015-01-26T21:04:58Z
Originally Posted by: mauisys 

Are your .config files located in the /forum/ directory?

I have a /forum/ directory that contains all of the YAF files and directories.

I also have the YAF application on the server pointing to that same /forum/ directory.

I read somewhere about pulling those files out and placing them in the root directory of the site.

Thanks again!!



All of my config files are in the root of my website.
mauisys
  •  mauisys
  • 67.4% (Friendly)
  • YAF Camper Topic Starter
2015-01-26T21:11:25Z
Ah, ok.

I feel like I'm close...
mauisys
  •  mauisys
  • 67.4% (Friendly)
  • YAF Camper Topic Starter
2015-01-27T04:23:42Z
Zero2Cool

Thank you for all of your help. I have been working on this on and off all day and can't seem to crack the code.

I'm basically back to where I started after trying many variations.

Do you have any idea what code in the URLRewrite.config would cause this to be returned when I click on the Login with Facebook page??

http://www.signaldaddy.c.../auth.aspx?auth=facebook 

Thanks!
mauisys
  •  mauisys
  • 67.4% (Friendly)
  • YAF Camper Topic Starter
2015-01-27T04:27:14Z
One more thing:

This is requested URL that I see when i run this site from the server and click on the Facebook login button:

Requested URL: /forum/www.signaldaddy.com/forum/auth.aspx
Zero2Cool
2015-01-27T13:52:14Z
Did you post your app.config? If you haven't, can you?

*** REMOVE sensitive data such as passwords and twitter facebook secret keys ***

Also, in your Host Settings, do you have the base url mask set to anything?
mauisys
  •  mauisys
  • 67.4% (Friendly)
  • YAF Camper Topic Starter
2015-01-27T14:30:00Z
Everything is working except the Facebook and Google Login function

Base URL in Host settings: www.signaldaddy.com 

Here is my current server config:
site root
- forum (IIS Application running ASP.net 4.0)
- All YAF files here (including .config)

This is my app.config (IDs and secrets changed)

<appSettings>
<!--
******************************************************************
** ConfigPassword Key ** Defaults to: Empty (not installed) **

Password to run configuration (/install/default.aspx) for the forum.
If you cannot set write permissions on this file (app.config)
you can manually enter a plain text password here that will
be required when you attempt to run the configuration. Install/config
password is required for security reasons.

<add key="YAF.ConfigPassword" value="" />
-->

<!--
******************************************************************
** BoardID Key ** Defaults to: 1 **

You can create as many boards as you want and they will function as seperate
forums (with seperate users). (Admin->Boards to create new boards.)
You can also specify "BoardID" in the forum control:

<YAF:Forum ID="Forum1" runat="server" BoardID="2" />

-->
<add key="YAF.BoardID" value="1" />

<!--
******************************************************************
** EnableURLRewriting Key ** Defaults to: false **

If it is enabed all URLs will be rewritten as human friendly URLs
If Not all URLs are computer friendly.
-->
<add key="YAF.EnableURLRewriting" value="false" />

<!--
******************************************************************
** UrlRewritingFormat Key ** Defaults to: standard **

This setting defines how the Urls will be formated, two formats are
available...
"advanced" - Will format urls as short as possible without an extension
Example: "http://mydomain.com/forum/topics/1-Test-Forum"
"standard" - The simple rewrite format
Example: "http://mydomain.com/forum/yaf_topics1-Test-Forum.aspx"

Without Rewrite the Urls will look like this..
Example: "http://mydomain.com/forum/default.aspx?g=topics&f=1"


<add key="YAF.UrlRewritingFormat" value="advanced" />

-->

<!--
******************************************************************
** URLRewritingMode Key ** Defaults to: false **
Unicode - will replace url symbols with unicode characters
Translit - will replace unicode characters with ascii characters
no entry - will replace non-ascii symbols with dashes

-->

<add key="YAF.URLRewritingMode" value="Unicode" />

<!-- Gets the Prefix used for Url Rewriting - default is "yaf_"
<add key="YAF.UrlRewritingPrefix" value="yaf_" />
-->

<!--
******************************************************************
** SMTP SSL Key ** Defaults to: false **

Set to true to use SSL for SMTP server connections.
-->
<add key="YAF.UseSMTPSSL" value="false" />

<!--
******************************************************************
** databaseObjectQualifier Key ** Defaults to: yaf_ **

For advanced users who want to change the prefix for Yaf DB
structure.
-->
<add key="YAF.DatabaseObjectQualifier" value="yaf_" />

<!--
******************************************************************
** DatabaseOwner Key ** Defaults to: dbo **

For advanced users who want to the change the default permissions
for the YAF DB structure.
-->
<add key="YAF.DatabaseOwner" value="dbo" />

<!--
******************************************************************
** ConnectionStringName Key ** Defaults to: yafnet **

The Database Connection string name YAF should use. Defaults
to "yafnet" for backward compatibility.
-->
<add key="YAF.ConnectionStringName" value="yafnet" />

<!-- Used to override a default provider
<add key="YAF.MembershipProvider" value="YafMembershipProvider" />
<add key="YAF.RoleProvider" value="YafRoleProvider" />
<add key="YAF.ProviderProvider" value="YafProfileProvider" />
-->

<!--
*******************************************************************
Used for Url Rewriting - default is "default.aspx"
<add key="YAF.BaseScriptFile" value="default.aspx" />
-->

<!--
*******************************************************************
Gets an override value, sometimes useful for Custom Trust Levels
<add key="YAF.OverrideTrustLevel" value="false" />
-->

<!--
******************************************************************
** providerExceptionXML Key ** Defaults to: ProviderExceptions.xml **

The file that the providers pull exception messages from.
-->
<add key="YAF.ProviderExceptionXML" value="ProviderExceptions.xml" />

<!--
******************************************************************
** UploadDir Key ** Defaults to: "~/upload/" **

Has now been deprecated in favour of BoardRoot. The upload folder is now
the value of BoardRoot appended with "upload/".
-->

<!--
******************************************************************
** Optional BoardRoot Key ** Defaults to a empty string.

Provides a method of moving Images/Themes/Uploads to a subfolder within
the YAF application.
Make sure there is write permissions to this directory for Uploads to
work.
<add key="YAF.BoardRoot" value="~/Boards/" />
-->

<!--
******************************************************************
** Optional MultiBoardFolders Key ** Defaults to false

Appends BoardRoot with the CurrentBoardID to allow different Images/
Uploads/Themes per board. E.g. /Boards/1/Themes.
Requires manually adding of themes.
<add key="YAF.MultiBoardFolders" value="true" />
-->

<!--
******************************************************************
** Optional File Root Key ** Defaults to: AppRoot (below) **

File Root is server-side and used by YAF to find and load files.

If YAF forum files are not located in the Application Root (~/)
of your web site you need to specify the additional url
in this root key. Example: Application Root is "/forum"
You want your forum at "www.mysite.com/forum". You need to specify
"/forum" in your root key below.

PLEASE NOTE:

YAF .dll files (from the \bin directory in the zip) AND ALL files
in the \App_Code directory MUST be located in the Application Root.

-->

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


<!--
******************************************************************
** DisableJQuery Key ** Defaults to: jQuery **

Used to set JQuery alias. Used for integration purposes.

<add key="YAF.JQueryAlias" value="jQuery" />
-->

<!--
******************************************************************
** DisableJQuery Key ** Defaults to: false **

Used to YAF JQuery version loading. Used for integration purposes.

<add key="YAF.DisableJQuery" value="false" />
-->

<!--
******************************************************************
** JQuery Key ** Defaults to: js/jquery.min.js **

Used to override default YAF JQuery version. Used for integration purposes.

<add key="YAF.JQuery" value="js/jquery.min.js" />
-->

<!--
******************************************************************
** JQueryUIFile Key ** Defaults to: //ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js **

Used to override default YAF JQueryUI version. Used for integration purposes.

<add key="YAF.JQueryUIFile" value="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js" />
-->

<!--
******************************************************************
** JQueryUILangFile Key ** Defaults to: //ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery-ui-i18n.min.js **

Used to override default YAF JQueryUI version. Used for integration purposes.

<add key="YAF.JQueryUILangFile" value="//ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery-ui-i18n.min.js" />
-->

<!--
******************************************************************
** Optional AppRoot ** Defaults to: "~/" **

If YAF forum URL is different than the Application Root, specify
it manually here. Do NOT include server information.

e.g. ~/forum

-->

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


<!--
******************************************************************
** Optional Base Url Mask ** Defaults to: "Current Server" **

Use this key to provide a base url override or mask for your YAF
forum. This is the protocol and server ONLY - add any path information
to your AppRoot.

e.g.: https://mydomain.com 
-->

<add key="YAF.BaseUrlMask" value="http://www.signaldaddy.com/" />

<!--

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

-->

<!--
******************************************************************
** Membership Provider Key Type ** Defaults to: "System.Guid" **

The type that the membership provider expects the ProviderKey
to be. Most providers use expect System.Guid.

Valid values include:

System.Guid (default)
System.String (max 64 character length)
System.Int32
System.Int64

-->
<add key="YAF.ProviderKeyType" value="System.Guid" />

<!--
******************************************************************
** Mobile User Agents **

Comma delimited list of all the mobile user agents. Case-insensitive.
-->
<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"/>

<!--
******************************************************************
** Optional ShowToolBar ** Defaults to: "true" **

You can hide the toolbar with the optional key below. You may want
to do this if you've incorporated YAF into your existing site and
have your own menu controls for accessing the forum.

<add key="YAF.ShowToolBar" value="false" />
-->

<!--
******************************************************************
** Optional AllowLoginAndLogoff ** Defaults to: "true" **

You can turn off the ability for YAF users to login and logoff (for
site integration) by uncommenting the key below.

<add key="YAF.AllowLoginAndLogoff" value="false" />
-->

<!--
******************************************************************
** Optional SqlCommandTimeout ** Defaults to: "99999" **

Option to Set the Sql Command Timeout

In some cases is need to set it to Unlimited value="0"

<add key="YAF.SqlCommandTimeout" value="99999" />
-->

<!--
******************************************************************
** Optional Facebook Single Sign On Feature

To turn on that Feature you need to have an Facebook Developer
Application

-->

<add key="YAF.FacebookAPIKey" value="99999999999999" />
<add key="YAF.FacebookSecretKey" value="99999999999999999999999" />



<!--
******************************************************************
** Optional Google Single Sign On Feature

To turn on that Feature you need to have Google API Access
you can do this here:
https://code.google.com/apis/console/ 

More info on how to enable this feature here...
https://github.com/YAFNE.../wiki/Google-Integration 

<add key="YAF.GoogleClientID" value="999999999-999999999999999999999.apps.googleusercontent.com" />
<add key="YAF.GoogleClientSecret" value="9999999999999999999999" />

-->

<!--
******************************************************************
** Optional Twitter Single Sign On Feature

To turn on that Feature you need to have an Twitter Developer
Application you can do this here:
https://dev.twitter.com/apps 
Don't Forget to Define a Callback URL, you can enter anything you want
it will be ovritten by YAF.

<add key="YAF.TwitterConsumerKey" value="XXXX" />
<add key="YAF.TwitterConsumerSecret" value="XXXX" />
-->

<!--
******************************************************************
** JS and CSS Block Compression Minify Feature

Option to Automatically Compress Java Script and/or CSS Blocks
by Default it is turned off if you want to disable it you need to add the following
lines

<add key="YAF.CompressJSBlocks" value="false" />
<add key="YAF.CompressCSSBlocks" value="false" />
-->


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



URLRewrite.config

<rewriter>
<!-- Standard URL Rewriting Format -->

<rewrite url="^~/(.+?)?yaf_login?\.aspx\?(.+)?$" to="~/$1Default.aspx?g=login&amp;$2" processing="stop" />
<rewrite url="^~/(.+?)?yaf_info?\.aspx\?i=([0-9]+?)&amp;url\=(.+)$" to="~/$1Default.aspx?g=info&amp;i=$2&amp;url=$3" processing="stop" />
<rewrite url="^~/(.+)?yaf_topics([0-9]+)p([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;p=$3&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?yaf_topics([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?yaf_forum([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=forum&amp;c=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?yaf_postst([0-9]+)find([-a-z]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;find=$3&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?yaf_postst([0-9]+)p([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;p=$3&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?yaf_postst([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?yaf_postsm([0-9]+)find([-a-z]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;find=$3&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?yaf_postsm([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?yaf_profile([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=profile&amp;u=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?yaf_rsstopicft([0-9]+)t([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;t=$3&amp;$9" processing="stop" />
<rewrite url="^~/(.+)?yaf_rsstopicft([0-9]+)f([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;f=$3&amp;$9" processing="stop" />
<rewrite url="^~/(.+)?yaf_rsstopicft([0-9]+)(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?\.aspx(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;$8" processing="stop" />
<rewrite url="^~/(.+)?yaf_([-0-9a-z_]+?)\.aspx\?(.+)?$" to="~/$1Default.aspx?g=$2&amp;$3" processing="stop" />
<rewrite url="^~/(.+)?yaf_([-0-9a-z_]+?)\.aspx$" to="~/$1Default.aspx?g=$2" processing="stop" />

<!-- Advanced URL Rewriting Format -->

<rewrite url="^~/(.+?)?info?\?i=([0-9]+?)&amp;url\=(.+)$" to="~/$1Default.aspx?g=info&amp;i=$2&amp;url=$3" processing="stop" />
<rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;p=$6&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?topics/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=topics&amp;f=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?category/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=forum&amp;c=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?posts/t([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;find=lastpost&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?posts/t([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;find=unread&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(/page([0-9]+))(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;p=$6&amp;$8" processing="stop" />
<rewrite url="^~/(.+)?posts/t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;t=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?posts/m([0-9]+)findlastpost-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;find=lastpost&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?posts/m([0-9]+)findunread-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;find=unread&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?posts/m([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=posts&amp;m=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?profile/([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=profile&amp;u=$2&amp;$6" processing="stop" />
<rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1Default.aspx?g=admin_$2_$3&amp;$5" processing="stop" />
<rewrite url="^~/(.+)?admin/([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)?(\?(.+))?$" to="~/$1Default.aspx?g=admin_$2&amp;$4" processing="stop" />
<rewrite url="^~/(.+)?rsstopic/ft([0-9]+)t([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;t=$3&amp;pg=$5&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?rsstopic/ft([0-9]+)f([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))(_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))?(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;f=$3&amp;pg=$5&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))_([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
<rewrite url="^~/(.+)?rsstopic/ft([0-9]+)-(([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+))-([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Nd}\p{Pc}-]+)(\?(.+))?$" to="~/$1Default.aspx?g=rsstopic&amp;ft=$2&amp;pg=$3&amp;$7" processing="stop" />
<rewrite url="^~/(.+?)?login(\?(.+))?$" to="~/$1Default.aspx?g=login&amp;$3" processing="stop" />
<if url="^((?!\.ashx|\.asmx|\.axd|\.gif|\.png|\.jpg|\.ico|\.pdf|\.css|\.js|install|error|auth\.aspx|default\.aspx|popup\.aspx|advanced\.aspx|digest\.aspx).)*$">
<rewrite url="^~/(.+)?\?(.+)?$" to="~/Default.aspx?g=$1&amp;$2" processing="stop" />
<rewrite url="^~/(.+)?\.aspx$" to="~/Default.aspx?g=$1" processing="stop" />
<rewrite url="^~/(.+)?$" to="~/Default.aspx?g=$1" processing="stop" />
</if>
</rewriter>

Zero2Cool
2015-01-27T14:34:30Z
lol can you wrap each of the configs in the Code XML tags please?
mauisys
  •  mauisys
  • 67.4% (Friendly)
  • YAF Camper Topic Starter
2015-01-27T14:38:51Z
haha... yeah sorry... Too early to read through that, eh?

Dumb question: how can I post an image to this board?
Zero2Cool
2015-01-27T14:40:31Z
Originally Posted by: mauisys 

haha... yeah sorry... Too early to read through that, eh?

Dumb question: how can I post an image to this board?



use the IMG like this bbcode tags.

The app.config I posted, replace my values with yours and add back in the config password and see if that works. Your config has things commented out, sometimes in and very hard to follow with those comments. At least to me it's hard lol

So try my config but use your website, your facebook, your twitter, your google, your config password, restart your application and see if you're getting the same thing.
mauisys
  •  mauisys
  • 67.4% (Friendly)
  • YAF Camper Topic Starter
2015-01-27T14:51:38Z
OK, I'll give it a shot.

Thanks. :)
mauisys
  •  mauisys
  • 67.4% (Friendly)
  • YAF Camper Topic Starter
2015-01-27T15:15:03Z
I replaced my app.config with yours and then I got that "Serious Error" page from YAF when I clicked on /forum link from my home page .

Then I changed the AppRoot and FileRoot Keys from "~/forum" to "~/" and I was able to get into the forum but still the same error on the Facebook Login.

Now I'm thinking that I have this set up wrong on my server.

Earlier you mentioned that your config files were in your Site root. Do you mean like: /app.config, /db.config, etc...?
And then, do you have a directory called /forum?
Is YAF running as an Application on IIS?
If so, is your /foum directory set up as the Application and are all YAF files in that /forum directory?

If I put the web.config that came with YAF at my site root, then I can't access any pages except my default.aspx at the site root.

Thanks again!!
Zero2Cool
2015-01-27T15:18:40Z
Originally Posted by: mauisys 

I replaced my app.config with yours and then I got that "Serious Error" page from YAF when I clicked on /forum link from my home page .

Then I changed the AppRoot and FileRoot Keys from "~/forum" to "~/" and I was able to get into the forum but still the same error on the Facebook Login.

Now I'm thinking that I have this set up wrong on my server.

Earlier you mentioned that your config files were in your Site root. Do you mean like: /app.config, /db.config, etc...?
And then, do you have a directory called /forum?
Is YAF running as an Application on IIS?
If so, is your /foum directory set up as the Application and are all YAF files in that /forum directory?

If I put the web.config that came with YAF at my site root, then I can't access any pages except my default.aspx at the site root.

Thanks again!!



I have a directory /forum which is not an application, it is a directory.
I have my .config files in the root of my website (one level up from /forum)

The issue certainly related to URL's because I believe you said others are able to register via forum, but not the single sign on, correct?
tha_watcha
2015-01-27T15:38:42Z
What happens when you replace the baseurlmask setting with

<add key="YAF.BaseUrlMask" value="" />	


Restart the app after that
UserPostedImage
mauisys
  •  mauisys
  • 67.4% (Friendly)
  • YAF Camper Topic Starter
2015-02-02T18:48:49Z
Hi tha_Watcha,

I have the same results when changing the BaseURLMask setting and restarting the app.

When I add the web.config files to my site root all of my other hyperlinks no longer work. For example, when I click 'MUSIC', I just stay on the Home page.

Thanks,
Dave

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