Portal Home > Knowledgebase > Articles Database > Suspend account aprt from FTP


Suspend account aprt from FTP




Posted by LP560, 08-03-2007, 03:09 PM
Hi, I want to de-activate/suspend a account so no changes can be made while I transfer it. I'm currently using the following code in the .htaccess file which works but will not allow me to login to ftp and download the files: RedirectMatch .* http://mydomain.com/page Options -Includes -Indexes -ExecCGI What wrong with the above code? Thanks in advance

Posted by csparks, 08-03-2007, 06:25 PM
Why dont you just replace the index.html file with a file that will say "Closed while we move the site, sorry". Or something to the effect. You could transfer the files that will not be modified, then put that index.html file up, then delete all the files, except the ones you still need to transfer and the index file. Seems like that should work.

Posted by TheTop, 08-03-2007, 07:44 PM
csparks: that will work if people ONLY enter the site via the main page, otherwise they can still get in through any of the other links. Excel: if you are using cpanel, you can suspend account, if you are on a lone server and can afford to do it, kill the httpd process. Also I don't see how changing the .htaccess would interfere with your FTP. Can you tell us what system / control panel you are using.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read