Working with Other Sites
On some websites the CSK might not be the only web application. In this section we will give you some tips on running other web applications under the CSK. The CSK assumes total control of the directories under it. If you place other ASP.NET applications, pages, or images, in a subdirectory of the CSK, you may have trouble linking to and executing these items.
Let’s assume you have a subdirectory where you will upload images to link to. The CSK, however, intercepts the requests for image files and tries to serve the request by finding the image in the CSK database. This leaves the images in your own subdirectory as broken links in the browser. The solution is to override the top-level Web.Config
file of the CSK by placing another Web.Config
file in the subdirectory with instructions to remove the image file mapping. The following Web.Config
file will override the image mappings for a subdirectory:
<?xml version="1.0" encoding="UTF-8" ?> <configuration>...