Posted by: mnichols - Friday, 28 February 2014 18:32:12 |
---|
Hello all, I followed the directions provided in the documentation section to add YAF to my existing site in development. I created a page called forums.aspx and placed it in my "~/Secured/" directory. It's important to note that in the project structure the forums.aspx is in a directory below the root and the YAF /forum directory is also below the root. Example: ~ /Forum /Secure when i navigate to www.sitename.com/secure/forums.aspx i see the main forums page (it also properly took me through the setup the first time i hit the page.) but if i click on anything inside the forums i get The resource cannot be found 404 error. the error page shows that the resource that cannot be found is /forum/Forums.aspx. Why is it looking for the Forums.aspx page in the forum dir and not the Secure dir? Any help would be great.....new to YAF but liking it so far. |
Posted by: Zero2Cool - Friday, 28 February 2014 20:30:34 |
---|
This sounds like a UrlRewriter.config issue to me. Try using this https://github.com/YAFNET/YAF.SampleWebApplication/commit/8c616315e2d77122f38185a73ee9a417f34acb29 Also, make sure your app.config is set properly too. You should have ... I think it's baseurlmask set to ~/forum ... I'm not sure, I'd have to double check. |