PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > The PowWeb Platform > General Issues / Questions
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 8-12-06, 07:56 PM   #1
omegaman66
 
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.
omegaman66 is offline  
Old 8-12-06, 09:01 PM   #2
(jj)
 
(jj)'s Avatar
 
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.
__________________
If silence is golden, then I must be worth million$

(jj)
Jack
(jj)'s Playground
(jj) is offline  
Old 8-13-06, 12:27 AM   #3
omegaman66
 
Join Date: Nov 2001
Location: Louisiana
Posts: 487
Reputation: 32
Thanks that is what I needed to know!
omegaman66 is offline  
Old 8-13-06, 03:11 AM   #4
cc1030
 
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:
RewriteEngine On RewriteRule \.(php|cgi|pl)$ - [F]

With this method, you can "enable" it (by using the rule) or "disable" it (by removing or commenting out the rule) whenever you want.
cc1030 is offline  
Old 8-13-06, 04:41 AM   #5
omegaman66
 
Join Date: Nov 2001
Location: Louisiana
Posts: 487
Reputation: 32
I will put that to good use! Thanks a million.
omegaman66 is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:45 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.