Author |
Message |
blooobs2003
New Member


Joined: Jun 02, 2004
Posts: 5
|
Posted:
Wed Jun 02, 2004 8:18 am |
|
Hallo friends
i'm new here
first my compliment for your good work
I have installed hack alert and then sentinel
but i dont know if work or not becouse i have had defeaced my site
so if understand instruction htaccess file must be into the root. That's correct?
but i have'nt htaccess file into the root. Is it into another dir!
if copy that file into root i could'nt access to the site
Then into config panel
htaccess Path: what i have to write here? ('m on Apache server)
Final how i can test if it work without problem for me?
Many thank for your good help |
|
|
|
 |
GanjaUK
Life Cycles Becoming CPU Cycles

Joined: Feb 14, 2004
Posts: 633
Location: England
|
Posted:
Wed Jun 02, 2004 8:31 am |
|
The path is probably: .htaccess
If you do not have one there, you can put one in there, the reason you could not visit your site, the htaccess probably had: deny from all
The htaccess file in the root could contain this:
Code:
# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module)$">
deny from all
</FilesMatch>
<Limit GET PUT POST>
Order Allow,Deny
Allow from all
</Limit>
Options All -Indexes
DirectoryIndex index.php index.htm index.html /noindex.php
|
|
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
blooobs2003

|
Posted:
Wed Jun 02, 2004 8:52 am |
|
Tnks GanjaUK for your rely
i try to put that code into htaccess file and i put it into the root
but an error occurr:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
 |
|
|
|
 |
peace
Worker


Joined: Mar 11, 2004
Posts: 209
|
Posted:
Wed Jun 02, 2004 9:33 am |
|
hi
Ganja i have not any .htaccess file in my root too but raven told me ''Leave all the files as they are and just upload them. '' when i first install and chmod it so i chmod the one in abuse file and upload , but u says if we dont have .htaccess just put one to root im confused so mine wont work ? |
|
|
|
 |
stephen2417
Worker


Joined: Jan 18, 2004
Posts: 244
Location: Bristolville, OH
|
Posted:
Wed Jun 02, 2004 10:05 am |
|
Actually if you didnt know the .htaccess file will disapear when you upload it.
If your using ws_ftp in that little box in the upper right hand corner that you never use. Type -al or -la and you will see files that it normaly hides.  |
|
|
|
 |
peace

|
Posted:
Wed Jun 02, 2004 10:26 am |
|
hi step
i was using dreamveawer as ftp too now i downlaod smart ftp and i saw i have a .htaccess file which 476 kb in my public_html folder .is it normal that its big and is there a way i see whats there in it.Also is it ok i chmod it 666 and upload will solve my problem
thx |
|
|
|
 |
blooobs2003

|
Posted:
Wed Jun 02, 2004 10:35 am |
|
Sorry but i never have .htaccess file into the root
and if i put one inside i could'nt access to site
also with the modification above suggested by ganjaUK
i have now ugraded sentinel to 1.1.0 and into the zi file there is'nt .htaccess file
 |
|
|
|
 |
peace

|
Posted:
Wed Jun 02, 2004 10:46 am |
|
there is .htaccess in abuse file bloob  |
|
|
|
 |
blooobs2003

|
Posted:
Wed Jun 02, 2004 11:05 am |
|
Yes of course
but is into abuse dir and not into root
if is this and must be into abuse dir..... that's ok ?
 |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Jun 02, 2004 11:12 am |
|
You only have 1 .htaccess file that comes with the release, in abuse directory. You will not have one in your root directory until Sentinel(tm) needs it. If you don't have one, Sentinel(tm) will create it. If you already have one, Sentinel(tm) will append to it. It will grow as bans are added to it. |
|
|
|
 |
blooobs2003

|
Posted:
Wed Jun 02, 2004 11:23 am |
|
Ok many thans Raven
now it's everiting clear
Also into the block-sentinel2 there are now two ip marked as OTHERS
so i suppose it is working now
I have not made any change into the config from admin panel
many tnks for y help and good job  |
|
|
|
 |
peace

|
Posted:
Wed Jun 02, 2004 11:29 am |
|
nice it works for you
Raven what about my .htaccess which i found in my root when start to use a real ftp program its 476 kb is that ok i chmod it and opload ?  |
|
|
|
 |
|