PDA

View Full Version : Admin!! Htaccess Hack!


weezle
07-21-2001, 07:05 AM
Hello... i found this thread here
http://www.vbulletin.com/forum/showthread.php?s=&threadid=21218

Works great and all BUT! i was wondering if theres a way to have it only for the cntrl panel..............

Like people can come to the board and stuff but if they go say

Http://BLAHBLAHBA/forum/admin It would trigger the HTACCESS??? any help?

BradC
07-21-2001, 11:13 PM
How instead of putting that in your global.php putting it in your admin/index.php page..?

Or.. do you have access to a control panel from your host..

there should be a section where you can add an l/p (htaccess) to a certain folder..

well just add it to the admin part :)

weezle
07-22-2001, 10:09 AM
HMmmmmmm thats kinda stumped me there.... what file do i need to EDIT!... i want it like I want to go to my CNTRL panel i have to GO THROU HTACCESS then Sign In..... So i only want HTACCESS for the admin cntrl panel and noth the entire board

BradC
07-23-2001, 01:22 AM
I am not really for sure.. but I think you can just take his code and place it at the top of the index.php file in the admin folder.. or am I wrong?

weezle
07-24-2001, 06:36 AM
No..... still dont work..... DAMN! anyone have any ideas on what file to change and where????? PLZ help

JamesUS
07-24-2001, 08:14 AM
Instead of puttnig the code in global.php put it in admin/global.php :)

BradC
07-24-2001, 12:19 PM
duh.. lol missed that one :(

* BradC hits himself on the head with a rubber mallet