Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
blooobs2003
New Member
New Member



Joined: Jun 02, 2004
Posts: 5

PostPosted: Wed Jun 02, 2004 8:18 am Reply with quote

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? Embarassed

Many thank for your good help
 
View user's profile Send private message
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Wed Jun 02, 2004 8:31 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
blooobs2003







PostPosted: Wed Jun 02, 2004 8:52 am Reply with quote

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.

Sad
 
peace
Worker
Worker



Joined: Mar 11, 2004
Posts: 209

PostPosted: Wed Jun 02, 2004 9:33 am Reply with quote

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 Sad so mine wont work ?
 
View user's profile Send private message
stephen2417
Worker
Worker



Joined: Jan 18, 2004
Posts: 244
Location: Bristolville, OH

PostPosted: Wed Jun 02, 2004 10:05 am Reply with quote

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. Wink
 
View user's profile Send private message Visit poster's website
peace







PostPosted: Wed Jun 02, 2004 10:26 am Reply with quote

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 Shocked .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







PostPosted: Wed Jun 02, 2004 10:35 am Reply with quote

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

Crying or Very sad
 
peace







PostPosted: Wed Jun 02, 2004 10:46 am Reply with quote

there is .htaccess in abuse file bloob Smile
 
blooobs2003







PostPosted: Wed Jun 02, 2004 11:05 am Reply with quote

Yes of course
but is into abuse dir and not into root
if is this and must be into abuse dir..... that's ok ?
Very Happy
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Jun 02, 2004 11:12 am Reply with quote

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.
 
View user's profile Send private message
blooobs2003







PostPosted: Wed Jun 02, 2004 11:23 am Reply with quote

Ok many thans Raven
now it's everiting clear Very Happy

Also into the block-sentinel2 there are now two ip marked as OTHERS
so i suppose it is working now Very Happy
I have not made any change into the config from admin panel

many tnks for y help and good job Very Happy
 
peace







PostPosted: Wed Jun 02, 2004 11:29 am Reply with quote

nice it works for you Smile
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 ? Rolling Eyes
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©