Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 not found #1

Open
lucasjans opened this issue Dec 16, 2013 · 1 comment
Open

404 not found #1

lucasjans opened this issue Dec 16, 2013 · 1 comment

Comments

@lucasjans
Copy link

Hi @jsheely,

I'm getting a 404 on /signalr/hubs. What dependency am I missing and how exactly should that be installed?

@jsheely
Copy link
Contributor

jsheely commented Jan 3, 2014

This is actually an issue in DNN 7.2.0 with the advanced url format of the URL rewriter. Because it doesn't end in an extension, DNN is hijacking the request.

You can resolve two ways:

  1. Modifying the web.config from urlformat="advanced" to urlformat="HumanFriendly"

or

  1. Exclude params in the database for the new url rewriter. If you ever use iFinity Url ReWriter before it's the same concepts but now stored in the database instead of the web.config

Here is a SQL snippet for for modifying the rewriter to ignore anything to do with signalr

insert into HostSettings(SettingName,SettingValue) values ('AUM_IgnoreUrlRegex','(?<!linkclick\.aspx.+)(?:(?<!\?.+)(\.pdf$|\.gif$|\.png($|\?)|\.css($|\?)|\.js($|\?)|\.jpg$|\.html$|\.htm$|\.axd($|\?)|\.swf$|\.flv$|\.ico$|\.xml($|\?)|\.txt$))|signalr')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants