Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x
Author Message
utssace
Worker
Worker


Joined: Feb 18, 2006
Posts: 155
Location: Virginia

PostPosted: Sun Nov 04, 2007 7:10 am Reply with quote

When I restored my site, I did not have a backup of the my htaccess file
that sentinel uses. Without this file I don't get the http auth login. When I
put the original sample.htaccess in the root, it get the login window but
my user/pass doesn't work. How can I fix the htaccess to accept my login
info?
 
View user's profile Send private message Visit poster's website
manunkind
Client


Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM

PostPosted: Sun Nov 04, 2007 2:22 pm Reply with quote

Did you restore the correct .staccess file. It pulls the credentials from that:

Quote:
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted by NukeSentinel(tm)"
AuthType Basic
AuthUserFile /path/to/.staccess
</Files>

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
utssace
PostPosted: Sun Nov 04, 2007 6:22 pm Reply with quote

I thought the staccess was for CGI auth. I don't remember having to
upload an htaccess or staccess when I first installed. I just went to
sentinel admin and selected "http auth" as my admin auth.

Now, when I go to sentinel admin, I don't see http auth as an option.
Only shows "Off" or CGI.
 
utssace
PostPosted: Sun Nov 04, 2007 6:38 pm Reply with quote

My host has been having problems lately. They said they needed to reinstall
the OS...anyway not sure what all has happened. I sent them a message.
I am thinking that whatever they did messed up my auth. Maybe they
are using CGI now.
 
manunkind
PostPosted: Sun Nov 04, 2007 7:22 pm Reply with quote

utssace wrote:
I thought the staccess was for CGI auth.


You're right. Sorry...I misread the post.
 
cypheroz
New Member
New Member


Joined: Nov 06, 2007
Posts: 8
Location: London England

PostPosted: Fri Nov 09, 2007 8:15 am Reply with quote

I tried this also, I only see CGIauth, But after adding the 'CGIauth setup' script to .htaccess as it says, I get an error 500 - Internal Server error.
By what I read here it's actually supposed to be added to the .staccess file not the .htaccess file is this correct?
Oh, And what is this for anyways Laughing I've been hacked before on my current site so I'd like to make my new one as safe as is possible with NS Very Happy
 
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9453
Location: Arizona

PostPosted: Sat Nov 10, 2007 2:38 pm Reply with quote

manunkind wrote:
Did you restore the correct .staccess file. It pulls the credentials from that:

Quote:
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted by NukeSentinel(tm)"
AuthType Basic
AuthUserFile /path/to/.staccess
</Files>


The above should be what you have towards the top of your .htaccess file, but note the AuthUserFile line. This MUST be the absolute path to a .staccess file that you place in the root of your nuke (right along with .htaccess).

.staccess should only have your admin users and their hashed admin passwords in it. NO other directives.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel™ v2.5.x

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 ©