Author |
Message |
edkiefer
Regular


Joined: Jul 15, 2005
Posts: 50
|
Posted:
Mon Nov 28, 2005 1:35 pm |
|
I am confused on how to set the htaccess Path. Can you tell me where I do that?
Thanks |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Nov 28, 2005 1:53 pm |
|
In NukeSentinel(tm) Admin page, about midway down. Just type .htaccess |
|
|
|
 |
edkiefer

|
Posted:
Mon Nov 28, 2005 1:59 pm |
|
Are you talking about /html/admin.php? |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Mon Nov 28, 2005 6:43 pm |
|
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. |
|
|
|
 |
edkiefer

|
Posted:
Tue Nov 29, 2005 6:27 am |
|
It says"Not Available"in the htaccess path and the staccess path. Is the site protected without these set? |
|
|
|
 |
Raven

|
Posted:
Tue Nov 29, 2005 9:48 am |
|
What web server are you using? |
|
|
|
 |
edkiefer

|
Posted:
Tue Nov 29, 2005 10:01 am |
|
|
|
 |
Raven

|
Posted:
Tue Nov 29, 2005 10:25 am |
|
So is Apache your web server? |
|
|
|
 |
edkiefer

|
Posted:
Tue Nov 29, 2005 10:33 am |
|
Yes it is. Sorry I'm not very technical. |
|
|
|
 |
Raven

|
Posted:
Tue Nov 29, 2005 10:39 am |
|
Have you set all the admin passwords in Admin Auth List? |
|
|
|
 |
edkiefer

|
Posted:
Tue Nov 29, 2005 10:45 am |
|
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

|
Posted:
Tue Nov 29, 2005 10:52 am |
|
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

|
Posted:
Tue Nov 29, 2005 11:05 am |
|
OK I did that. I put it in /public_html/html/
I still get: htaccess path: Not Available |
|
|
|
 |
Guardian2003

|
Posted:
Tue Nov 29, 2005 12:52 pm |
|
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

|
Posted:
Tue Nov 29, 2005 1:08 pm |
|
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

|
Posted:
Tue Nov 29, 2005 2:14 pm |
|
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

|
Posted:
Tue Nov 29, 2005 2:20 pm |
|
Try it now. This is just a test site. |
|
|
|
 |
Raven

|
Posted:
Tue Nov 29, 2005 2:26 pm |
|
Now I am unable to reach your site. It just spins into never-never land. |
|
|
|
 |
edkiefer

|
Posted:
Tue Nov 29, 2005 2:35 pm |
|
|
|
 |
Raven

|
Posted:
Tue Nov 29, 2005 2:39 pm |
|
Nope. It looks like it's looping |
|
|
|
 |
edkiefer

|
Posted:
Tue Nov 29, 2005 2:46 pm |
|
Well Raven, thanks very much for your time. Have a great day! |
|
|
|
 |
Raven

|
Posted:
Tue Nov 29, 2005 2:51 pm |
|
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

|
Posted:
Tue Nov 29, 2005 3:01 pm |
|
|
|
 |
|