vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Admin!! Htaccess Hack! (https://vborg.vbsupport.ru/showthread.php?t=23294)

weezle 07-21-2001 07:05 AM

Hello... i found this thread here
http://www.vbulletin.com/forum/showt...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 :(

[high]* BradC hits himself on the head with a rubber mallet[/high]


All times are GMT. The time now is 06:47 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01123 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete