2010-10-23, 11:44 AM
2010-11-26, 04:28 PM
Very nice!
Since all of my IPs are static, the .htaccess for the /admin folder will be great! I can't believe I didn't think of that.
I have the /admin ErrorDocument 403 to redirect to thebest404pageever
Since all of my IPs are static, the .htaccess for the /admin folder will be great! I can't believe I didn't think of that.
I have the /admin ErrorDocument 403 to redirect to thebest404pageever
2010-11-26, 05:13 PM
Nice tips, but with the fact most IP's change nearly every day, you can't really .htaccess protect the admin folder using specific IP's
Good guide however
Good guide however
2010-11-26, 06:04 PM
(2010-11-26, 04:28 PM)Cooldude170 Wrote: [ -> ]Very nice!Glad it works for you!
Since all of my IPs are static, the .htaccess for the /admin folder will be great! I can't believe I didn't think of that.
I have the /admin ErrorDocument 403 to redirect to thebest404pageever
(2010-11-26, 05:13 PM)Kyuubi Wrote: [ -> ]Nice tips, but with the fact most IP's change nearly every day, you can't really .htaccess protect the admin folder using specific IP'sThanks. Like Cooldude has shown above, it does depend on your ISP. Some ISPs do change, others don't.
Good guide however
2010-11-27, 07:05 AM
Great stuff Zash, thanks for the heads up. Better safe today than sorry tomorrow.
2010-11-28, 03:29 AM
Bookmarking this, thanks for the tips
2011-01-09, 11:38 AM
(2009-02-10, 02:34 AM)Zash Wrote: [ -> ]If you have multiple administrators, use the following code instead:
Quote:ErrorDocument 403 http://www.mybbwebhost.com
Order deny,allow
Deny from all
Allow from 123.45.67.899
Allow from 998.76.54.321
Change the green to each of the IP addresses, and the red to the domain you wish to redirect other people.
Having added a list of IP addresses to access adminCP, when trying to access adminCP, from one of the IP addresses, it still bounces to the redirected page.
Are there any suggestions?
(2011-01-09, 11:38 AM)chef Wrote: [ -> ]putting a comma after the deny from all seems to work(2009-02-10, 02:34 AM)Zash Wrote: [ -> ]Having added a list of IP addresses to access adminCP, when trying to access adminCP, from one of the IP addresses, it still bounces to the redirected page.
Are there any suggestions?
so it should look like;
Quote:ErrorDocument 403 http://www.mybbwebhost.comAre commas needed for each link of 'allowed' IP addresses?
Order deny,allow
Deny from all,
Allow from 123.45.67.899
Allow from 998.76.54.321
2011-01-13, 09:53 PM
Very useful advice. Thank you!
2011-02-22, 06:46 PM
Quick question- when I try to PW protect my admin dir using my standard LAMP cPanel, I get a 404 error when trying to access the dir via the adminCP link.... anyone know why that is?
2011-02-22, 06:53 PM
(2011-02-22, 06:46 PM)Monaco Wrote: [ -> ]Quick question- when I try to PW protect my admin dir using my standard LAMP cPanel, I get a 404 error when trying to access the dir via the adminCP link.... anyone know why that is?
The two shouldn't be related...404 means that the file isn't there. 401 Error means Authorization Required, which is what you should get aside from the prompt.