Author |
Message |
izone
Involved


Joined: Sep 07, 2004
Posts: 354
Location: Sweden
|
Posted:
Sun Nov 12, 2006 11:58 am |
|
Hi,
We had no problem to secure admin.php with HTTPAuth inside Admin Sentinel before. but now when we have moved to another server this option is not shown.
We have contacted server admin and they will help us with this but don't know how.
Is there any kind of guid or how to for activating this? What shall they do in server to activate this option?
I appieciate any kinds of help on this.
Best Regards! |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Sun Nov 12, 2006 12:21 pm |
|
|
|
 |
izone

|
Posted:
Sun Nov 12, 2006 12:43 pm |
|
thanks, so much they know!!!
What I ment was activating this in mysql databases not in .htaccess files! |
|
|
|
 |
hitwalker

|
Posted:
Sun Nov 12, 2006 12:47 pm |
|
that isnt in your database,its the server configuration that let it work or not...
your host should know all that..  |
|
|
|
 |
izone

|
Posted:
Sun Nov 12, 2006 12:49 pm |
|
ok could you please give some more info about it. thanks
is there a module to install on server or?
Regards |
|
|
|
 |
hitwalker

|
Posted:
Sun Nov 12, 2006 12:52 pm |
|
no thats all...
with the link i gave you or your host should be able to figure that out...
or he's not a host but a 14 year old kid with a server stored somewhere.. |
|
|
|
 |
izone

|
Posted:
Sun Nov 12, 2006 1:06 pm |
|
ok thanks anyway. I think it was my problem to tel him what I wanted.
I will give him this link. |
|
|
|
 |
hitwalker

|
Posted:
Sun Nov 12, 2006 1:08 pm |
|
well basically using htaccess features should be standard on hosting accounts...but some prevent the use of some codes in the htaccess..  |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sun Nov 12, 2006 4:06 pm |
|
Hi izone and hitwalker,
You can manually disable the setting for Admin Auth in the NukeSentinel config table. This will allow you to get access to your admin if you moved servers. You may also need to rename your .htaccess too. You should, of course, re-enable it once you've got access to the NukeSentinel admin function and can see how to set it appropriately. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
izone

|
Posted:
Sun Nov 12, 2006 4:12 pm |
|
kguske, Thanks.
To accesseing admin area is not my issiue here. Problem is that after moving I cann't choose HTTPAuth from the dropdown menu inside Sentinel Admin to protect my admin.php anymore. The only option there is CGI auth now.
I've now compared a phpinfo from both servers and every mods that hitwalker, linked to was on both servers. I'm not so sure about if it is something in Apache or MySql server which must be done to anable this option.
Appreciate your help on this.
Regards. |
|
|
|
 |
kguske

|
Posted:
Sun Nov 12, 2006 4:19 pm |
|
That has to do with how Apache treats PHP on your server. CGIAuth provides the same protection as HTTPAuth, but requires the .htaccess changes and password file (e.g. .staccess). |
|
|
|
 |
izone

|
Posted:
Sun Nov 12, 2006 4:21 pm |
|
Great, thanks.
Do you possibly have any linke to how to's to activate or installing this? or more info about it? It would be a great help. |
|
|
|
 |
kguske

|
Posted:
Sun Nov 12, 2006 4:25 pm |
|
Sure - see Only registered users can see links on this board! Get registered or login! for a link and some words of caution from fkelly. |
|
|
|
 |
izone

|
Posted:
Sun Nov 12, 2006 4:39 pm |
|
Thanks kguske, again.
But it tell me how to use .htaccess to protect admin.php. What I need is protecting admin.php by using HTTPAuth (script level) .
If you look at this picture:
The only option there for me on new server is "Admin CGIAuth" and before moving I hade both options.
I have a test site on the new server, if you have time and possibility I can pm you url and admin password so you can see it by yourself. |
|
|
|
 |
izone

|
Posted:
Sun Nov 12, 2006 4:41 pm |
|
Quote: |
That has to do with how Apache treats PHP on your server.
|
I need to know how to change treatment of PHP by Apache to enable HTTPAuth (script level).
Sorry for my bad english, it is difficult some time to explain! |
|
|
|
 |
kguske

|
Posted:
Sun Nov 12, 2006 5:24 pm |
|
You cannot change having PHP compiled as an Apache module or having it as a CGI module unless you own the server. The host determines that.
Either one will give you Admin Authentication. HTTPAuth works with NukeSentinel, where CGIAuth requires code to be added to the .htaccess file and the creation of a password files (e.g. .staccess). I guess you can use CGIAuth in both cases, but if your server has PHP compiled as a CGI module, you can only use CGIAuth to protect your admin file.
NukeSentinel shows you exactly what code to add to your .htaccess and what to put in your .staccess. |
|
|
|
 |
|