|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Quickest way to disable a website
I need to way to "turn off" a website - whether it be to update it, control bandwidth, etc. Ideally it'd display an "updating" page for any and all URLs accessed.
|
|
#2
|
|||
|
|||
|
Create a 2nd httpd.conf and make it to redirect everything to a script like what you would normally do with ErrorDocument.
Such script should display something like "Our server is under maintenance. Please try back in 10 minutes." During the update, apachectl graceful and have httpd to READ this httpd2.conf. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Quickest way to disable a website |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|