PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 174
Location: CA

PostPosted: Thu Nov 16, 2006 7:30 am Reply with quote Back to top

not sure what this means but im seeing it a lot in my error logs.

Code:

[Tue Nov 14 14:26:18 2006] [error] [client 67.149.248.70] mod_security: Warning. Pattern match "([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}" at POST_PAYLOAD [hostname "www.mysite.com"] [uri "/modules.php?name=Your_Account"]


As i am just learning about php & nuke and i know next to nothing about apache so i thought i would ask you guys if you know whats causing this.
it looks to me like something in the Y A module.

I recently added a few charactors to the module/your account/index.php in order to have users not get the invalid username error. this is what the index.php looks like after adding a space and the ( ) charactors.

"if ((!$username) || (empty($username)) || (ereg("[^a-zA-Z0-9_ ()-]",$username)))"

all help appreciated. thanks
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
persona_non_grata



Joined:
Posts: 0

PostPosted: Thu Nov 16, 2006 7:35 am Reply with quote Back to top

maybe this helps...
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 174
Location: CA

PostPosted: Thu Nov 16, 2006 7:49 am Reply with quote Back to top

Thanks for that link persona_non_grata, ill try to ask my host which is "Ipowerweb" about this. i have to say i dont really have a problem with Ipowerweb but im sure there tech support could be more knowledgeable about php/nuke.

I would be happy to move to ravens hosting if he can give me 100 gigs of space and 500 gigs of Xfer or more as long as the latency to the site is good.
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2204
Location: near Albany NY

PostPosted: Thu Nov 16, 2006 9:03 am Reply with quote Back to top

Your mod_security problem is unlikely to be related to a your_account problem. Mod_security (as I understand it) is a "filter" that is applied by your host prior to a client's request ever getting to your site. So, in a case like Ipowerweb, all the sites (and there may be many) on a given server ... and probably on all their servers ... are being filtered the same way thru mod_security. You can call their tech support but it is unlikely that they will change anything for you. They take a cookie cutter approach to things and are unlikely to change mod_security for any one client.
View user's profile Send private message Visit poster's website
persona_non_grata



Joined:
Posts: 0

PostPosted: Thu Nov 16, 2006 9:43 am Reply with quote Back to top

well maybe,maybe not but the other topics deals with the same problem....and also ipowerweb , also known as ipowernothing.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 7487
Location: Arizona

PostPosted: Fri Nov 17, 2006 6:10 am Reply with quote Back to top

Just ran across this from another post by kguske, but not sure your host will let you do this. Try adding this code to your .htaccess:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

However, doubtful your host will allow this and also you lost the extra "protection". Just thought I'd share it in case it actually could be useful.
View user's profile Send private message Visit poster's website
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 174
Location: CA

PostPosted: Fri Nov 17, 2006 6:36 am Reply with quote Back to top

i was just wondering what the mod security warning was all about.
unless its insecure or is causing something to happen that shoudn't or causes other problems, i guess i dont need to do anything about it. Do i ?.... Confused
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4868

PostPosted: Fri Nov 17, 2006 7:52 am Reply with quote Back to top

The warning is 'exactly what it says on the tin' - a url was passed to your site which matched a pattern listed in mod_security.
If you think about how Nuke Sentinel works for script blocking - it looks for matches against known hacks in the uri and if it finds them, it blocks them.

mod_security is slightly more complex and it is run at server level but the principle is similar.
View user's profile Send private message Send e-mail Visit poster's website
thebishop
Worker
Worker


Joined: Aug 30, 2005
Posts: 174
Location: CA

PostPosted: Fri Nov 17, 2006 9:39 am Reply with quote Back to top

Thanks for clearing that up for me Guardian2003. Wink
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4868

PostPosted: Fri Nov 17, 2006 10:02 am Reply with quote Back to top

No problem.
The reason you see the errors in your server log (and no where else) is because the message is generated at server level (by the server) and not the website itself.
View user's profile Send private message Send e-mail Visit poster's website
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1472
Location: In front of a screen....HELP! lol

PostPosted: Fri Nov 17, 2006 8:12 pm Reply with quote Back to top

IMO as Im no guru, but I do believe somewhere it is trying to create:
Only registered users can see links on this board!
Get registered or login to the forums!


Notice the 2 slashes instead of just one, Ive tested this on my system and it seems to throw up the warnings as well.
Hopefully this will help.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum