Temporarily Disable Site - redirect

Discussion in 'General troubleshooting' started by CCM64, May 12, 2010.

  1. I want to temporarily restrict my site to anonymous users. I know how to that through the permission manger. The problem is that no when users go to my site they will see nothing but a login box. I need to have some way to explain why the site is temporarily unavailable. If I could auto redirect them to a page in a folder that has anonymous permission that would be great. Any ideas? Thanks in advance.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    put a default.asp or default.aspx page that redirect to the holding page.

    You can also do a global redirect in IIS manager if you are on IIS 7.
     
  3. Bruce - thanks for the suggestion. I'm not sure I follow with the default.aspx page. Won't that page which will be in the root directory be blocked when I set anonymous users to "Deny"
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    i don't think you need to deny anonymous access.. just replace the default page.

    If this doesn't fit your need, can you tell us exactly you want to archieve? eg. do you want just some people to see the site?
     

Share This Page