Redirect to a "site maintenance" page

  • Thread starter Mike Gleason jr Couturier
  • Start date
M

Mike Gleason jr Couturier

Hi,

What's a clean way to redirect users on an information page while doing site
maintenance...

Can we do it with urlMappings !? (wildcard "*"?)

Thanks
 
C

Cowboy \(Gregory A. Beamer\)

Provided it is site maintenance and not server maintenance, point the site,
in IIS, to a different directory.
For server maintenance, it is a bit more involved, as you have to resolve to
a different server during maintenance.
 
J

Juan T. Llibre

re:
!> Provided it is site maintenance and not server maintenance,
!> point the site, in IIS, to a different directory.

Actually, all that's needed is to create an "app_offline.htm" file
in the root directory of the application which is being updated.

See :
http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx

re:
!> For server maintenance, it is a bit more involved, as you
!> have to resolve to a different server during maintenance.

Yes. That's a different problem.





Cowboy (Gregory A. Beamer) said:
Provided it is site maintenance and not server maintenance, point the site, in IIS, to a different directory.
 
M

Mike Gleason jr Couturier

Mike Gleason jr Couturier said:
Hi,

What's a clean way to redirect users on an information page while doing
site maintenance...

Can we do it with urlMappings !? (wildcard "*"?)

Thanks

"app_offline.htm"

Cool thanks guys!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top