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 -> NukeSentinel(tm) v2.4.x
Author Message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Wed Oct 26, 2005 4:06 pm Reply with quote

Double post?...
 
View user's profile Send private message
scriptleek
Hangin' Around



Joined: Oct 19, 2005
Posts: 40

PostPosted: Wed Oct 26, 2005 4:18 pm Reply with quote

Ok..wow..my luck is changing now..heheh.. i see the files now. Very Happy

Delete .htaccess file??..i did a clean install of the nuke site.


Last edited by scriptleek on Wed Oct 26, 2005 4:19 pm; edited 1 time in total 
View user's profile Send private message
hitwalker







PostPosted: Wed Oct 26, 2005 4:19 pm Reply with quote

yeah i know,now just take care of the htaccess file..
 
scriptleek







PostPosted: Wed Oct 26, 2005 4:26 pm Reply with quote

Wow.. i can get back in my admincp again.. Very Happy Dance-Y many many thnx guys.
And i would like to compliment this site's forum for the quick and descent advice and support i got sofar. Chapeau for your patience to be able to start over and over again when HitsFan . A big applause.

Best Regards;
Scriptleek.
 
hitwalker







PostPosted: Wed Oct 26, 2005 4:30 pm Reply with quote

thanks and good luck... Smile
 
Sinestr
New Member
New Member



Joined: Oct 29, 2005
Posts: 12

PostPosted: Mon Oct 31, 2005 4:29 pm Reply with quote

Ok, I am really new at Nuke, and am trying to setup Sentinel. I do not have a thing in my .htaccess or .staccess files. What needs to be in there for it to be setup properly. If you could list the code for a generic, non special setup, I would be grateful. Only 2 superusers and 1 god admin. Just the basic setup that has the necessary protections enabled. Thanks.
 
View user's profile Send private message
scriptleek







PostPosted: Mon Oct 31, 2005 5:20 pm Reply with quote

"sample.htaccess and sample.staccess are samples of the CGIAuth system. In the
sample.htaccess file you will see a sample of the code needed to use CGIAuth and
the sample.staccess, while empty, if renamed to .staccess, uploaded to your server
then chmoded to 666 will store the CGIAuth AID's and Passwords. ONLY ADD the
CGIAuth sample .htaccess code after setting up the rest of NukeSentinel(tm),
otherwise you will be locked out of your sites admin section.

Only on Apache servers -------------> root/.htaccess (CHMOD 666)
Be sure your .htaccess file
has at least one blank line at
the end of it.
Only on Apache servers -------------> root/.staccess (CHMOD 666)
This file should be empty to begin."

Make sure the AuthUserFile /path/to/your/.staccess is correct.
This is the basic content of the htaccess file as it comes with the download:


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
# -------------------------------------------

Good luck.
Greetz;
Scriptleek.
 
Sinestr







PostPosted: Mon Oct 31, 2005 7:35 pm Reply with quote

Ok, really awesome responses. One of my initial problems is that if I try to save anything in Sentinel, it will not. I thought adding this to .htaccess would correct that. Also what would need to be changed, ballpark, in sentinel before adding this code? I sure do not want to lock myself out.

Finally, if I wanted to add 2 admins to the upper code, would I add them "required valid-user area and then all I would need to put is their nickname correct?

Thanks for all the help, you guys are great.
 
scriptleek







PostPosted: Mon Oct 31, 2005 8:01 pm Reply with quote

Just make sure the .htaccess "AuthUserFile /path/to/your/.staccess" is correct and leave the .htaccess file alone.

After you have installed sentinel and did the "Edits_For_Core_Files" which are included with the sentinel download, just add .staccess file NOT HE HTACCESS file! make sure you have chmodded the .staccess to 666. Then go to your admincp adjust all preferences(TIP: Read the sentinel manual on how to adjust your sentinel correct to be found here at Raven's) and be shure to have set the "admin Auth list" option. After this run the "Scan for new Admins" option and check "Admin Auth List" option again and see if all the admins are there that you want to be there and check if their passwords are set!!(very important). When you have made all the settings add the .htaccess file chmod this to 666 (again make sure the "AuthUserFile /path/to/your/.staccess" is correct and sentinel should work now. This is how i did it and it works like a charm.

Good luck;
Regards;
Scriptleek.
 
Sinestr







PostPosted: Mon Oct 31, 2005 8:12 pm Reply with quote

Ok, is what you are saying to do is take the basic script that comes in the .htaccess that you have listed and insert it into the .htaccess as is. Only changes to make are making sure the path to the .staccess is correct? Because right now my .htaccess is blank as is my .staccess.

And excuse my ignorance but what is chmod 666 and where does it go?
 
scriptleek







PostPosted: Mon Oct 31, 2005 8:31 pm Reply with quote

yes take the basic script and only edit the right path as mentioned before. e.g [ Only registered users can see links on this board! Get registered or login! ]

Chmod is when you rightclick on the .staccess file (in ftp) choose properties(in WS_FTP) dependant on ftpclient and change writepermissions of the file to 666 after this press ok and leave it alone and make sure the .staccess file is empty.

The .htaccess file needs the content as given with the downloaded sentinel u got.

Again, first configure all settings in sentinel as i told earlier and when finished doing so and sentinel works and you are sure the passwords in admin auth list are set then add the .htaccess file with the correct path and chmod this to 666 also.
I give this part accent because i don't want you to make the same mistake as i did as to be read in this topic heheh...
Good Luck.
Scriptleek.
 
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 -> NukeSentinel(tm) v2.4.x

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 ©