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) v2.6.x
Author Message
ecchi_goshujinsama
New Member
New Member



Joined: Jul 11, 2008
Posts: 9

PostPosted: Fri Nov 07, 2008 7:07 pm Reply with quote

Greetings,

I recently noticed that every time NS blocks an IP address and writes it to .htaccess it writes the deny from IP on the same line as the previous deny from IP. Example below:

deny from xxx.xxx.xxx.
deny from xxx.xxx.xxx.deny from xxx.xxx.xxx

In turn I have to go into the .htaccess file and put the deny from IP into the new line, otherwise the server doesnt recognize the new blocked IP address. I'm not sure whats going on, or why NS does this. Can anyone assist me on this if possible?

Currently running RN 2.30.00 / NS 2.6.01

Thank you
 
View user's profile Send private message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Fri Nov 07, 2008 7:19 pm Reply with quote

I donĀ“t see this behavior at my testsite but I had this issue a time ago with a previous version of NS.

Add two empty lines after the latest deny from xxx and check again your .htaccess. Maybe it helps.
 
View user's profile Send private message
ecchi_goshujinsama







PostPosted: Fri Nov 07, 2008 7:27 pm Reply with quote

Ok I'll give that a try and see what it does.

Thanks for the reply.
 
ecchi_goshujinsama







PostPosted: Fri Nov 07, 2008 7:32 pm Reply with quote

Hmm, it seems that it wont save the two empty lines. I would enter twice right after the last deny from line and save but when i reopen to make sure there are two empty lines, it doesnt show the two empty lines i created.
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Nov 07, 2008 11:17 pm Reply with quote

Are you using a text editor that does not read Unix line feeds?

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
ecchi_goshujinsama







PostPosted: Tue Nov 11, 2008 2:28 pm Reply with quote

I use the text editor that's built-in on the cPanel. On my pc i use Notepad++ but most of the time I use the built-in editor.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.6.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 ©