| Author |
Message |
DarkFusion
Nuke Soldier


Joined: Oct 16, 2004
Posts: 22
|
Posted:
Sat Oct 16, 2004 4:12 pm |
  |
i set the setting so you get a popup when you go to admin.php ...and it says:
enter user & pass for "Protected" @ mysite.com
I entered my user name and the pass and it wont log me in...Any helP? |
|
|
   |
 |
schrags11
Nuke Soldier


Joined: Mar 26, 2004
Posts: 34
|
Posted:
Sat Oct 16, 2004 7:32 pm |
  |
|
   |
 |
JohnGotti
Corporal


Joined: Sep 06, 2004
Posts: 57
|
Posted:
Mon Oct 18, 2004 11:07 am |
  |
I'm having a similar problem. I just upgraded from Sentinel 2.0.2 to 2.1.0. I'm trying to access the Admin Panel and it keeps prompting me for a username and password. I've entered my GOD account in every way possible ( e.g. lower case, upper case, EXACTLY how I registered it ) and entered the correct password each time too with NO LUCK.
I went into phpMyAdmin and found nuke_nsnst_config. I could not find a line "HTTP Auth". What I did find was "http_auth". That VALUE was already set to "0". Just for the hell of it, I editted it and put the value to "0" again and saved it. Went back into my site and STILL cannot access the admin section.
Anyone have any ideas??? I would GREATLY appreciate it!  |
|
|
   |
 |
JohnGotti
Corporal


Joined: Sep 06, 2004
Posts: 57
|
Posted:
Mon Oct 18, 2004 11:12 am |
  |
Ok... I figured out part of my problem. Previous to intalling 2.1.0, I did NOT have a .htaccess and a .staccess. After removing these files I am now able to access my Admin panel again.
The .htaccess and .staccess that I used was what came with Nuke Sentinel 2.1.0. I just removed the "sample." from the beginning of it. ( Incase anyone is wondering why I didn't have these files previously, I just moved from an Win IIS web server to a Linux Apache web server ).
Can anyone give me direction on where I can get information on what should be in these two files and how to properly use them?
Any help is REALLY appreciated!  |
|
|
   |
 |
nukewayne
Nuke Cadet


Joined: Oct 07, 2004
Posts: 3
|
Posted:
Mon Oct 18, 2004 12:59 pm |
  |
I think that the .htaccess should be blank. |
|
|
   |
 |
JohnGotti
Corporal


Joined: Sep 06, 2004
Posts: 57
|
Posted:
Mon Oct 18, 2004 1:41 pm |
  |
The .staccess is blank....
.htaccess has the following code:
| Code: |
Options All -Indexes
DirectoryIndex index.php index.htm index.html
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .staccess>
deny from all
</Files>
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted"
AuthType Basic
AuthUserFile /path/to/your/.staccess
</Files>
# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
|
I'm just starting to learn PHP and coding. It would seem to me that the .staccess is being called and there is nothing in that file for it to reference. I wasn't sure if I needed to add information to the .staccess so it knew who the right admin's were to allow.
Again, anyone that could provide insight into this, would be appreciated!  |
|
|
   |
 |
GJSchaller
Corporal


Joined: Aug 05, 2004
Posts: 62
Location: Valhalla, NY, USA
|
Posted:
Mon Jan 10, 2005 6:39 pm |
  |
I'm in the same boat - can any one offer insight for this? |
_________________ Geoffrey Schaller
Knight Realms, Technical Officer
http://www.knightrealms.com |
|
     |
 |
CordlezToaster
Nuke Soldier


Joined: Jan 11, 2005
Posts: 15
|
Posted:
Wed Jan 12, 2005 11:25 pm |
  |
yeah same here, how do i tell it that im ok to log in? |
|
|
   |
 |
GJSchaller
Corporal


Joined: Aug 05, 2004
Posts: 62
Location: Valhalla, NY, USA
|
Posted:
Thu Jan 13, 2005 3:30 am |
  |
I did figure it out - you MUST be logged in as the God admin to create the passwords for CGIAuth / HTTP Auth. If you are not logged in as God, you won't see the ability to create these in Sentinel. Additionally, the God account must be named God. If you rename the account, Nuke no longer consders it "God" any more, and you can whack the account, etc. |
_________________ Geoffrey Schaller
Knight Realms, Technical Officer
http://www.knightrealms.com |
|
     |
 |
dodgeit
Nuke Cadet


Joined: Jan 15, 2005
Posts: 2
|
Posted:
Fri Jan 14, 2005 11:38 pm |
  |
I just added name:pass to mine so i could get into it. |
|
|
   |
 |
nikits72
Nuke Cadet


Joined: Jan 07, 2005
Posts: 7
|
Posted:
Mon Jan 17, 2005 9:52 am |
  |
Hi all,
i have the same problem.
So dogeit.
Which file you added user:pass ?
To .htaccess or .staccess?
Some good links to read about this subject is to the sentinel's author forums here: http://ravenphpscripts.com/postt2950.html
Thx. |
|
|
   |
 |
|
|