Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™
Author Message
BooM
New Member
New Member


Joined: Nov 25, 2004
Posts: 2

PostPosted: Thu Nov 25, 2004 2:51 pm Reply with quote

hi,
i have nukesentinel setup up on my site and i like it. i have my .htaccess setup and im using CGIAuth protection. my problem is that i have a script im running on my site in a subdirectory that uses a file named admin.php to administer it. i want to give someone access to use it while not making them an admin. as you know the <Files> directive in the .htaccess file limits access to any file named admin.php even if in subdirectories. i searched the apache docs and info on the <Files> directive states that the file will be protected in subdirectories, unless specifically overridden. i need to figure it out how to override the protecton in this subdirectory. i tried to figure it out myself as i do with everything but this one was tough.
thanks.
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Thu Nov 25, 2004 6:12 pm Reply with quote

Try this in the subdirectory .htaccess

<Files admin.php>
allow from all
</Files>
 
View user's profile Send private message
BooM
PostPosted: Thu Nov 25, 2004 9:48 pm Reply with quote

tried that.....still asks for auth username and pw
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©