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(tm)
Author Message
izone
Involved
Involved



Joined: Sep 07, 2004
Posts: 354
Location: Sweden

PostPosted: Sun Nov 12, 2006 11:58 am Reply with quote

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!
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sun Nov 12, 2006 12:21 pm Reply with quote

moved to a new server ?...also host?..
and dont know how to help you?
Read this.... [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
izone







PostPosted: Sun Nov 12, 2006 12:43 pm Reply with quote

thanks, so much they know!!! Smile

What I ment was activating this in mysql databases not in .htaccess files!
 
hitwalker







PostPosted: Sun Nov 12, 2006 12:47 pm Reply with quote

that isnt in your database,its the server configuration that let it work or not...
your host should know all that.. Wink
 
izone







PostPosted: Sun Nov 12, 2006 12:49 pm Reply with quote

ok could you please give some more info about it. thanks

is there a module to install on server or?

Regards
 
hitwalker







PostPosted: Sun Nov 12, 2006 12:52 pm Reply with quote

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







PostPosted: Sun Nov 12, 2006 1:06 pm Reply with quote

ok thanks anyway. I think it was my problem to tel him what I wanted.

I will give him this link.
 
hitwalker







PostPosted: Sun Nov 12, 2006 1:08 pm Reply with quote

well basically using htaccess features should be standard on hosting accounts...but some prevent the use of some codes in the htaccess.. Sad
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Sun Nov 12, 2006 4:06 pm Reply with quote

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...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
izone







PostPosted: Sun Nov 12, 2006 4:12 pm Reply with quote

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







PostPosted: Sun Nov 12, 2006 4:19 pm Reply with quote

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







PostPosted: Sun Nov 12, 2006 4:21 pm Reply with quote

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







PostPosted: Sun Nov 12, 2006 4:25 pm Reply with quote

Sure - see this post for a link and some words of caution from fkelly.
 
izone







PostPosted: Sun Nov 12, 2006 4:39 pm Reply with quote

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:

Image

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







PostPosted: Sun Nov 12, 2006 4:41 pm Reply with quote

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







PostPosted: Sun Nov 12, 2006 5:24 pm Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©