MyBB Community Forums

Full Version: Find 'tutorial' for use .htaccess b4 upgrade 1.6.5 to 1.6.* ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
At http://docs.mybb.com/Upgrading.html says...
Quote:"First, you may want to shut down your forum. Doing this means that no one will interrupt the upgrade process accidentally. Please remember that switching the forum by using the "Board Online/Offline" setting IS NOT recommended. The best method is to use a .htaccess restriction on your forum's root folder so that no one can access the front end. There are various tutorials on search engines that help you do this and some hosts (especially ones that give you cPanel) provide simple tools to do this."
Where to find good...
Quote:"...various tutorials on search engines that help you do this..."
Ps: Have tried browsing and MyBB 'search', but no luck.
Guess there is no answer here, any other place we might look ?
Order deny,allow
Deny from all
Allow from [yourip]
Thanks so much for the reply.
Its been a while, and now need to go from 1.6.5 to 1.6.11 , and actually still not sure how the .htaccess thing is supposed to work. Confused
There is a thread,
RE: how to shutdown the forum with .htaccess?
which looks at the same question, but no post marked 'Solved'.
One of the posts shows a similar (to your post) code...
<Files *>
order deny,allow
deny from all
allow from[b] put.your.ip.here[/b]
</Files>
...but with the file 'directive' (only got the term from browsing, and not really that familiar with the code).
Also, only can find .htaccess at /public_html/ and only htaccess.txt at /public_html/forum.
Is there any place that shows simple instructions to go with the MyBB direction for '.htaccess restriction on your forum's root folder' (assuming means /forum as root folder?).
Thoughts ?

(2013-02-11, 01:19 AM)pandaa Wrote: [ -> ]
Order deny,allow
Deny from all
Allow from [yourip]
^ each folder can contain its own .htaccess file!
for upgrading MyBB forum you can use .htaccess at your forum's main folder (eg. /forum)
.
Thank you for the feedback.

So, at /forum/.htaccess, the code would be...

<Files *>
order deny,allow
deny from all
allow from[b]###.###.#.##[/b]
</Files>

or

Order deny,allow
Deny from all
Allow from [###.###.#.##]

or... ???

(2014-08-07, 04:56 PM).m. Wrote: [ -> ]^ each folder can contain its own .htaccess file!
for upgrading MyBB forum you can use .htaccess at your forum's main folder (eg. /forum)
You don't need the <files *> wrapper. And the square brackets around ip should be removed.

Also, why are you upgrading to 1.6.11 instead of 1.6.15? Makes no sense for me.
Thanks for the info and reminder !
Yes, its 1.6.15, my mistake. Confused
Funny though, on the 'dashboard' it indicates 1.6.13, but the link takes to 1.6.15.
With that said, from your info, am assuming the correct .htaccess code is...
Order deny,allow
Deny from all
Allow from ###.###.#.##
Blush
What if more than one IP address is needed (PC network connections show one IP and IPChicken shows another ?

(2014-08-07, 10:22 PM)Destroy666 Wrote: [ -> ]You don't need the <files *> wrapper. And the square brackets around ip should be removed. Also, why are you upgrading to 1.6.11 instead of 1.6.15? Makes no sense for me.