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
edkiefer
Regular
Regular



Joined: Jul 15, 2005
Posts: 50

PostPosted: Mon Nov 28, 2005 1:35 pm Reply with quote

I am confused on how to set the htaccess Path. Can you tell me where I do that?
Thanks
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Nov 28, 2005 1:53 pm Reply with quote

In NukeSentinel(tm) Admin page, about midway down. Just type .htaccess
 
View user's profile Send private message
edkiefer







PostPosted: Mon Nov 28, 2005 1:59 pm Reply with quote

Are you talking about /html/admin.php?
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Nov 28, 2005 6:43 pm Reply with quote

No that would probably be the main a=nuke admin page.
.htaccess path is set in Nuke Sentinels main configuration screen
http://www.yoursite.com/admin.php?op=ABMain
When you get to that page, where it asks for the htaccess path just type in the path which it usually detects for you.
 
View user's profile Send private message Send e-mail
edkiefer







PostPosted: Tue Nov 29, 2005 6:27 am Reply with quote

It says"Not Available"in the htaccess path and the staccess path. Is the site protected without these set?
 
Raven







PostPosted: Tue Nov 29, 2005 9:48 am Reply with quote

What web server are you using?
 
edkiefer







PostPosted: Tue Nov 29, 2005 10:01 am Reply with quote

linux with PHP 4.3.8
 
Raven







PostPosted: Tue Nov 29, 2005 10:25 am Reply with quote

So is Apache your web server?
 
edkiefer







PostPosted: Tue Nov 29, 2005 10:33 am Reply with quote

Yes it is. Sorry I'm not very technical.
 
Raven







PostPosted: Tue Nov 29, 2005 10:39 am Reply with quote

Have you set all the admin passwords in Admin Auth List?
 
edkiefer







PostPosted: Tue Nov 29, 2005 10:45 am Reply with quote

Yes all the admin passwords are set.
Can I use the sample.htaccess file?

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







PostPosted: Tue Nov 29, 2005 10:52 am Reply with quote

Do you mean you do not have a .htaccess file yet? Bad assumption on my part. I [mis]assumed you already had a working .htaccess file with the correct permissions. Create an empty .htaccess file and change the permissions to 777. You do not need the .staccess file.
 
edkiefer







PostPosted: Tue Nov 29, 2005 11:05 am Reply with quote

OK I did that. I put it in /public_html/html/
I still get: htaccess path: Not Available
 
Guardian2003







PostPosted: Tue Nov 29, 2005 12:52 pm Reply with quote

Dont foget the preceeding dot - .htaccess when specifying the file path and ensure your file name is exactly ".htaccess" (without the quotes).

Hmm, actually that path you posted is incorrect there should be something BEFORE the public_html folder example
/home/accountusername/public_html/html/.htaccess
 
edkiefer







PostPosted: Tue Nov 29, 2005 1:08 pm Reply with quote

I still get Not Available

Here is my link. I made you a temp admin
username: *****
pass: *****
http://www.dvfsite.com/html/admin.php?op=ABMain

I don't know if you have time to look at it. Everything else works fine. Do I need .htaccess to be secure?
 
Raven







PostPosted: Tue Nov 29, 2005 2:14 pm Reply with quote

You should never, ever post a userid/pass. I am being blocked by NukeSentinel(tm). Please make sure that 68.165.61.161 is not in the .htaccess or the blocked IP table. Then I will take a look.
 
edkiefer







PostPosted: Tue Nov 29, 2005 2:20 pm Reply with quote

Try it now. This is just a test site.
 
Raven







PostPosted: Tue Nov 29, 2005 2:26 pm Reply with quote

Now I am unable to reach your site. It just spins into never-never land.
 
edkiefer







PostPosted: Tue Nov 29, 2005 2:35 pm Reply with quote

Well maybe that's a good thing. Can you get to it without going to the admin? http://www.dvfsite.com/html/index.php
 
Raven







PostPosted: Tue Nov 29, 2005 2:39 pm Reply with quote

Nope. It looks like it's looping
 
edkiefer







PostPosted: Tue Nov 29, 2005 2:46 pm Reply with quote

Well Raven, thanks very much for your time. Have a great day!
 
Raven







PostPosted: Tue Nov 29, 2005 2:51 pm Reply with quote

Now it's working. You do not need .htaccess for protection but you do need it for writing blocked IP's at the server level - just an added bonus, if you will. I am curious to solve this, though. Would you PM me the url, id/pass to your ftp site?
 
edkiefer







PostPosted: Tue Nov 29, 2005 3:01 pm Reply with quote

No thanks. Thanks anyway
 
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 ©