Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8426401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:31:33+00:00 2026-06-10T04:31:33+00:00

I have a Sitecore solution, where we handle 404 requests. We do that by

  • 0

I have a Sitecore solution, where we handle 404 requests.

We do that by setting “ErrorPage” and the “ItemNotFoundUrl” in the web.config:

<setting name="ErrorPage" value="/sitecore/service/error.aspx" />

And

<setting name="ItemNotFoundUrl" value="/Global/ErrorPages/404" />

Now, this works when we edit the name of the page. So if we have http://www.domain.com/mypage.aspx , and go to http://www.domain.com/mysdfsa.aspx which doesn’t exist, it will show our error-page.

However, if we go to something like:

http://www.domain.com/mypage.zip / http://www.domain.com/mypage.gosfgfgs

It gives the IIS error:

Error Summary
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

What have I tried?

We need to make it for for ZIP files at least.

  • Made sure that .ZIP is added to both IIS and Sitecore MIME types
  • Hooked in before the ExecuteRequest pipeline and tried to redirect (this is never called because the IIS gives the errorpage before we get to execute the request)

Any ideas? 🙂 Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:31:34+00:00Added an answer on June 10, 2026 at 4:31 am

    I think in the <preprocessRequest> pipeline there’s a processor for extensions that Sitecore handles. You should try to update that:

    <processor type="Sitecore.Pipelines.PreprocessRequest.FilterUrlExtensions, Sitecore.Kernel">
      <param desc="Allowed extensions (comma separated)">aspx, ashx, asmx</param>
      <param desc="Blocked extensions (comma separated)">*</param>
      <param desc="Blocked extensions that stream files (comma separated)">*</param>
      <param desc="Blocked extensions that do not stream files (comma separated)"></param>
    </processor>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When setting up or moving a Sitecore solution, you have to remember to setup
I have a Sitecore/ASP.NET projects that I'm developing. Today at some point I inadvertently
I have a page in Sitecore that displays the list of clients. There's a
The Sitecore Calendar Module doesn't have the features that we want: recurring events, multiple
In Sitecore 6, I have created a sublayout that has an asp:login control. For
Let's say I have a Workflow in Sitecore that has the following states: Draft
In a Sitecore Treelist or Multilist, items available for selection and items that have
While learning Sitecore I have found that the majority of Sitecore sample code on
I have an XSLT (running under Sitecore) that I'd like to benchmark. For example:
In a Sitecore 6.5 solution, i have the following; <sc:Text runat=server Field=bodyText/> and Sitecore.Context.Item[bodyText]

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.