|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Join Date: Nov 2001
Location: Louisiana
Posts: 487
Reputation: 32
|
cgi disable and enable question
I want to disable all script (message board, chat, photoalbum etc) tonight for a very short time. Question is how quickly does clicking the link in ops take effect and how long does it take after I turn it back on for it to begin working again? I only want it down for a few minutes.
|
|
|
|
|
#2 |
|
Join Date: Feb 2002
Location: n/a
Posts: 7,279
Reputation: 202
|
The servers only update twice daily, at 9am and 6pm EST. So disabling CGI from within OPs would not be a logical choice if you only want it disabled for a short time.
|
|
|
|
|
#3 |
|
Join Date: Nov 2001
Location: Louisiana
Posts: 487
Reputation: 32
|
Thanks that is what I needed to know!
|
|
|
|
|
#4 |
|
Join Date: Mar 2003
Location: Agawam, MA
Posts: 915
Reputation: 130
|
Do you use separate .htaccess files for separate directories? If not, then you can use one .htaccess file in yout htdocs directory to control this relatively easily. The following rule would block access to .php, .cgi, and .pl scripts:
Code:
With this method, you can "enable" it (by using the rule) or "disable" it (by removing or commenting out the rule) whenever you want. |
|
|
|
|
#5 |
|
Join Date: Nov 2001
Location: Louisiana
Posts: 487
Reputation: 32
|
I will put that to good use! Thanks a million.
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|