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 -> phpnuke 7.6
Author Message
thebishop
Worker
Worker



Joined: Aug 30, 2005
Posts: 244
Location: Flying to close to the sun

PostPosted: Thu Nov 23, 2006 5:38 pm Reply with quote

I am truely flummoxed here people and yes i have read many a'post about the Auth problems but mine seems to be very different.

in phpmyadmin it says that http_auth is set to 0 but when i try to acesss my http://mysite/admin.php the http_auth box prompts me for my user info, so i input my PW and username and and nothing happens.
I have tried setting http_auth to 1 and it does the same thing.
i have looked in nuke_nsnst_admins and all my info is correct.
I have cleared my browers cache,cookies then reloaded a new browser the whole 9 yards.

I have set my username and password to protected in NS admin.
I cannot think of what i'm over looking but once again i have been workng tool long and i'm very tired.

any thoughts...


[edit] sorry forgot my specs,
nuke7.6-3.3 NukeSentinel_2503_70-80 bbtonuke 2.0.21
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Thu Nov 23, 2006 7:55 pm Reply with quote

and what about the sentinel lines in htaccess ?
 
View user's profile Send private message
thebishop







PostPosted: Thu Nov 23, 2006 9:05 pm Reply with quote

hitwalker,
Code:
Options All -Indexes

DirectoryIndex index.php index.htm index.html

# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
  deny from all
</Files>

<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 have not changed anything it the .htaccess, i just renamed it.
i removed the .htaccess file and now can access my admin.php.
i'm not sure why my .staccess doesn't have my username & pw in it.
I know im just forgetting something here, (brain fart)
 
hitwalker







PostPosted: Fri Nov 24, 2006 5:33 am Reply with quote

im a bit confused now..
do you wanna use the http_auth or not ?
If not and nothing is set then it will never show a http_auth login.
 
thebishop







PostPosted: Fri Nov 24, 2006 6:11 am Reply with quote

yes i do wish to use http_auth and it was poping up when i tried to login to admin.php but after entering my info it just prompted me for my info again like i had never entered it.

now i dont even have the option to use http_auth in NS admin, it just gives me the CGI_auth option. Confused how and were do i change that back to having the http_auth option. is it in "nsnst_nuke_config because i have tried setting that to both 1 & 0 and in both cases it doesn't give me that option back.

i haven't had to reinstall nuke or NS for two years and if a person isn't doing this kind of stuff everyday they tend to forget a few things, ya know and im a voracious read too.
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Fri Nov 24, 2006 6:20 am Reply with quote

Sorry to jump in here, but I think the problem is in your htaccess. It is referring to a password file that isn't where htaccess thinks it is OR requires a user and password that you aren't using.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
hitwalker







PostPosted: Fri Nov 24, 2006 6:21 am Reply with quote

well then turn it all back as it was.....
if you are using it then you have to follow the correct way of setting it...
thats explained more then once on the forum...
look at these..

http://www.ravenphpscripts.com/postt4494.html
http://www.ravenphpscripts.com/posts6286-start-0.html
 
thebishop







PostPosted: Fri Nov 24, 2006 9:25 am Reply with quote

hmm what is really strange, is that NS gave me the option to use http_auth the first time i configured it. but according to the info.php the server api says CGI.
i did notice that when i set the http_auth to 1 in phpmyadmin, after a bit it changed back to 0. Im going to just setup cgi_auth instead. this is too much trouble to deal with anymore. thanks for everyones help.
 
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 -> phpnuke 7.6

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 ©