IIS7 and above versions rejecting URLs containing +


When hosting Sites with iis 7 ,7.5 (in my case it was a DNN CMS site)  I got 404.11 Error says “The request filtering module is configured to deny a request that contains a double escape sequence”

Error Details:

HTTP Error 404.11
The request filtering module is configured to deny a request that contains a double escape sequence

Cause:

Microsoft Says “The IIS7 request filter rejects URLs containing + characters. We do this because the + character is a dangerous choice. Some standards, e.g. the CGI standard require +’s to be converted into spaces. This can become a problem if you have code that implements name-based rules”

Solution

I have found one solution …just sharing with you guys

Just run the following command on your Webserver to allow the Double escaping in the URL . You can use this for whole server or a particular site

%windir%\system32\inetsrv\appcmd set config “Default Web Site” -section:system.webServer/security/requestfiltering -allowDoubleEscaping:true

Wanna more.. here

🙂

Advertisements

Leave a comment

Filed under Webhosting

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s