2011-08-19, 04:28 PM
2011-08-19, 04:36 PM
you can close from the admin panel (admin panel --> configuration --> settings --> Board Online / Offline)
you can follow this response for .htaccess method
you can follow this response for .htaccess method
2011-08-19, 06:23 PM
The above .htaccess method has a drawback to it. Users can still browse the install directory and there is a small risk that they can mess up the upgrade. I think restricting the IP is a better idea. Create a single file named .htaccess with the following code:
Replace 127.0.0.1 with your IP address and upload it to the root of your MyBB installation. This means only you will be able to access the forum. No-one else will. After you're done upgrading, you should delete the .htaccess file.
order deny,allow
deny from all
allow from 127.0.0.1
Replace 127.0.0.1 with your IP address and upload it to the root of your MyBB installation. This means only you will be able to access the forum. No-one else will. After you're done upgrading, you should delete the .htaccess file.