UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Web Hosting and Domains > PHP Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 24-01-2007, 12:04
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 330
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Question SecurePHPx

I have a website which records details for insurance policies. When a form is submitted I get an error:

Quote:
Script or Action Blocked

The requested URL /Punt2.php?Moo=Boo&OutputDiv=Punts&Policy_id=&Clien t_id=&PuntName=posh%20&PolQuote=Policies%20Only&Fi lterField=Client%20Name contains a script or action that has has been deteremined unsafe. It has been disabled to prevent abuse.

This server protected by: SecurePHPx
The problem occurs with the PuntName field - in the above example it is Posh (with a space after) in fact after a bit of experimentation I found that most 4 letter words followed by a space gave the same error, whereas something with 5 letters and a space doesn't give the error.

Weird

I've sorted the problem for now by changing the AJAX to use post rather than get which has stopped the error - but i'm intrigued as to why the error occurs - any ideas??

David
Reply With Quote
  #2 (permalink)  
Old 26-01-2007, 12:21
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,261
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

This is due to mod_security rules. Open a ticket in our support section and mention this error.

One of our senior system admins will need to figure out if removing this code from mod_security is safe or not. You may need to wait for some time as the mod_security rules cannot be modified by anyone in our support team without verification of our CRO or CTO.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:56.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories