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 Bugs/Fixes
Author Message
Hagii
New Member
New Member



Joined: Dec 21, 2004
Posts: 7

PostPosted: Mon Jan 30, 2006 8:54 am Reply with quote

well I searched but didnt find any answers so if I missed it, please direct me to the post.

I installed NukeSentinel(tm) 2.1.3 for the 7.6 ver of nuke.
(Im running platinum)
Everything else works but the .htaccess and .staccess files dont work.
I have frontpage extensions on and the .htaccess file in there has a different way it validates, so when I use the ones that come with the download I get an access denied error.
Im not too good with htaccess files so any help would be appreciated

This is the htaccess file that works and allows access to my admin section
Code:
# -FrontPage-


IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.lcn-ut.com
AuthUserFile /path/to/public_html/password.pwd
AuthGroupFile /path/to/public_html/group.grp


RedirectMatch permanent ^/login.htm$ http://hagii.com


When I upload the ones with sentinel, do I have to manually add my ip in there to get in ?

I am also getting header out put errors only when using the sentinel portion of the admin, but Im sure that because of the htaccess issue.
 
View user's profile Send private message Visit poster's website
Taz
Worker
Worker



Joined: Dec 22, 2005
Posts: 158

PostPosted: Thu Feb 02, 2006 3:53 pm Reply with quote

I'm not sure what problem you are trying to resolve but to me all of it sounds like a attribute problem. Access denied means that your applicaiton is unable to open the .htaccess file because of file permissions, or that I what has been my experience. Depending upon where you are hosting your system will really determine how to fix that.

Your Sentinel errors don't make a lot of sense, usually you can't even turn on the htauth if the file is not cmoded correctly, but I am not familiar with that version of sentinel.

On a unix or linux system it's the cmod attribute, and I think it has to be 777. Don't quote me on this, I am not an expert. Anyone else want to chime in on what he .htaccess cmod settings should be?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Feb 03, 2006 2:15 am Reply with quote

You do not need .htaccess or .staccess for HTTP Authentication. If HTTP Authentication appears in your NukeSentinel(tm) drop down box, then just select it and don't upload the .htaccess nor the .staccess file. Now, if you want the banned IP's written to your .htaccess file, then you will need to chmod .htaccess to 777.
 
View user's profile Send private message
Taz







PostPosted: Fri Feb 03, 2006 8:31 am Reply with quote

Interesting . . . what is the purpose of it writing the banned ip address to that file anyway?
 
Hagii







PostPosted: Fri Feb 03, 2006 8:49 am Reply with quote

thanks, I think I tried pointing to my htaccess file but I will look at the chmodding, another thing, I clicked to be notified of replies but never received one ...
 
Raven







PostPosted: Fri Feb 03, 2006 9:53 am Reply with quote

If you ban the IP in .htaccess, it never makes it to any of your site's pages, ie, it's banned at the site/server level. Otherwise it is banned in MySQL which means the "visitor" has actually gotten into your site and if there is a hole or an addon that circumvents NukeSentinel (doesn't call mainfile.php) then you could have a mucho problemo.
 
Taz







PostPosted: Fri Feb 03, 2006 9:59 am Reply with quote

Ouch, that makes sense now and I would say it was rather important to be using the .htaccess file. Smile
 
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 Bugs/Fixes

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 ©