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
B3rt
New Member
New Member



Joined: Aug 17, 2004
Posts: 7

PostPosted: Wed Aug 25, 2004 12:36 pm Reply with quote

I uplaoded a .htaccess file into the root of my website.
I chmodded it to 666
I left 1 blank line at the end of .htaccess file

I set as path in sentinel configuration .htaccess
(the website runs on plesk)

I turned in the blocking menu's on: Write to acces file: YES

There are now several IPs listed in my blocking list but when I oipen .hetaccess there 0 (none) IP's in .htaccess

So what do I wrong here?

I believe the path is incorrect, must it not be the absolute path?
/usr/local/psa/home/vhosts/mywebsite.ext/httpdocs/.htaccess
 
View user's profile Send private message
GeekyGuy
Client



Joined: Jun 03, 2004
Posts: 302
Location: Huber Heights Ohio

PostPosted: Wed Aug 25, 2004 1:44 pm Reply with quote

From the NukeSentinel™ User Guide:
Quote:
This is the path to your htaccess file relative to your root directory.

So using just .htaccess would be correct.

_________________
"The Daytona 500 is ours! We won it, we won it, we won it!", Dale Earnhardt, February 15th, 1998, Daytona 500 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
B3rt







PostPosted: Wed Aug 25, 2004 2:11 pm Reply with quote

Yes I read that but it is not working.......

Nothing is writen in this .htaccess file
 
GeekyGuy







PostPosted: Wed Aug 25, 2004 2:19 pm Reply with quote

I'll defer this one to the Wizards of Nuke.

I know how to set up PHP Nuke, but I don't know how it does what it does (or in this case, doesn't do)
 
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Wed Aug 25, 2004 2:49 pm Reply with quote

Haha well until one of those Wizrads shows up I'd suggest verifying the chmod from your control panel sometimes ftp won't change system files but report it succeeds.

If that shows 666 and its still not working I'd try verify the path with something like:
<?
echo ini_get("disable_functions");
echo("<BR>");
echo dirname($_SERVER['PATH_TRANSLATED']);
?>
The top line will disclose if there are some features disabled the second the server path.

It looks like it may be something with yout virtual hosting and the path mywebsite.ext
/usr/local/psa/home/vhosts/mywebsite.ext/httpdocs/.htaccess
Seems like I saw it discussed in another thread but... I can't remember the one. Most of the time .htaccess will work but I know some virtual accounts you have to use the server path.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
B3rt







PostPosted: Wed Aug 25, 2004 3:00 pm Reply with quote

When running that there are no disable functions and the path is displayed as I wrote in my mesage.
/usr/local/psa/home/vhosts/mywebsite.ext/httpdocs/

I just gonna try it and fill in as .htaccess path:
/usr/local/psa/home/vhosts/mywebsite.ext/httpdocs/.htaccess

Hope this works.
 
GeekyGuy







PostPosted: Wed Aug 25, 2004 3:15 pm Reply with quote

Let us know if that works for you. If so, I'll add it, along with Six's little script there, to the NukeSentinel™ User Guide FAQ.
 
B3rt







PostPosted: Sat Aug 28, 2004 2:31 pm Reply with quote

Sorry for the late reactiion, I did not had any blocked IP's

Todsay I received a message that a Ip has been blocked, and I took a look.
Indeed after the change of the path the IP is now listed in the .htaccess file.

You could change the manual and mentioned that the full path is needed for this option correctly to work.
 
GeekyGuy







PostPosted: Sat Aug 28, 2004 2:35 pm Reply with quote

B3rt,
Thanks for the update. I will add this info for Virtual Hosting needing the full path the the .htaccess file to the next update of the NukeSentinel™ User Guide.
 
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 ©