Posted by: v1rusxx - Monday, 6 August 2012 22:05:49 |
---|
I have install yaf forum on a separate folder name forum so the whole path be like \forumtest\forum, I have already set it up and is working. Now what I want to do is use the yaf user role and authentication to limit who can see certain pages.
Example I created a folder name cool and in cool i added a page name cool.aspx. I have also added a web.config file into the cool directory to allow who can view this page.
here is my web.config file in the cool directory
|
Posted by: tha_watcha - Tuesday, 7 August 2012 00:19:50 |
---|
If i understand correctly you need a custom Login Redirect Url? if yes there is a Host Setting for that "Custom Login Redirect Url" |
Posted by: v1rusxx - Tuesday, 7 August 2012 04:46:07 |
---|
[quote=tha_watcha;55913]If i understand correctly you need a custom Login Redirect Url? if yes there is a Host Setting for that "Custom Login Redirect Url"[/quote] Let me better explain I have a page name cool.aspx under \forumtest\cool\cool.aspx and when i am not log into the page and i click on the cool link it should redirect me to the forum log page which is http://localhost:65526/forumtest/forum/yaf_login.aspx, it actually tries to redirect me to /forumtest/login.aspx which is wrong since i dont have a page login.aspx in the rootdirectory which is /forumtest. here are some SS to help maybe piece together what i mean |
Posted by: tha_watcha - Tuesday, 7 August 2012 14:10:36 |
---|
Did you set the AppRoot & FileRoot Setting in the app.config correctly?
[code=xml;-1] |
Posted by: v1rusxx - Tuesday, 7 August 2012 15:05:31 |
---|
[quote=tha_watcha;55922]Did you set the AppRoot & FileRoot Setting in the app.config correctly?
[code=xml;-1] |