| chaos_coa wrote: |
Do I rename the sample files to the 2 files I need:
sample.htaccess and sample.staccess to .htaccess and .staccess ?
|
| chaos_coa wrote: |
I get this:
# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .staccess>
deny from all
</Files>
<Files admin.php>
<Limit GET POST PUT>
require valid-user
</Limit>
AuthName "Restricted by NukeSentinel(tm)"
AuthType Basic
AuthUserFile /var/www/html/.staccess
</Files>
# -------------------------------------------
# End of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
I understand that I need to type that Admin name in here? Can you tell me where it goes? I am really bad at looking at an code examples and figuring where something should go?
|
| chaos_coa wrote: |
Then I understand that I open the .htaccess file that I created using the sample.htaccess file and paste the text created by clicking on the CGI Auth Setup into the .htaccess file - chmod .htaccess and .staccess back to 666
Correct?
|
| Code: |
your_admin_login:<hashed password goes here>
|