10 May 2017 @ 12:47 AM 

I have built an Android app which uses php web service to update my data in my shared hosting mysql database. The app was working fine all the while until recently it suddenly show an error “forbidden”. I tried to debug the error and found that the error was showing I do not have permission to execute one of my php scripts. I found this is very strange since other php scripts have no issue. I started looking into the code and search on php post and json. I can’t find any working solution. Before I shoot a support email to my hosting company, I decided to try again the next day. Then I tried to look into the Cpanel and found there is a ModSecurity setting which can apply to all my sub domains. I tried to disabled the setting for the sub domain which stored the php scripts and it has backed to normal.

Posted By: Aeric
Last Edit: 10 May 2017 @ 12:48 AM

EmailPermalink
Tags


 

Responses to this post » (None)

 
Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


 Last 50 Posts
 Back
Change Theme...
  • Users » 3
  • Posts/Pages » 129
  • Comments » 195
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight