blog

  news
  content management system
  asp.net
  general
  quickelsoft cms

newsletter
Subscribe via RSS or via email
            

URLs and IIS 7

By default, when a content item name or a folder name contains spaces, these are replaced by a “+” in the URL generated by QuickelSoft CMS.

 

For instance, if the folder name is "For webmasters" and the content item name is "Understanding pagination in QuickelSoft CMS", then the generated URL will be:

http://www.quickelsoft.com/home.aspx/en/library/for+webmasters/Understanding+pagination+in+QuickelSoft+CMS.html

 

This character “+” is called a double escape sequence and is now by default rejected by IIS 7 in an URL.

See more information on the IIS Team blog:

https://blogs.iis.net/thomad/archive/2007/12/17/iis7-rejecting-urls-containing.aspx

 

If you want to run QuickelSoft CMS on a computer that is running IIS 7 (like Vista), you will have to modify your web.config file.

 

1. Locate the following directory: %windir%\System32\inetsrv\config

2. Open the applicationHost.config file and locate the following code:

 <section name="requestFiltering" overrideModeDefault="Deny" />

3. Set the value of overrideModeDefault as “Deny” if not already set.

 <section name="requestFiltering" overrideModeDefault="Allow"/>

4. Open you web.config file

5. Add the following code in your file in the “configuration” section:

<configuration>
 <system.webServer>
  <security>
   <requestFiltering allowDoubleEscaping="True"/>
  </security>
 </system.webServer>
</configuration>