Mod_Security Error

Discussion in 'PHP' started by hruz, May 19, 2015.

  1. #1
    When I try to add a record at this page here: http://newstartdot.com/a/gig/
    I get this error ...

    Not Acceptable!
    An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

    What's causing this? It gets taken to a page which uses <frameset> as follows:


    <frameset rows="15,85" marginwidth=0 marginheight=0 frameborder="No" border=0 framespacing=0 cols="*" bordercolor="">
    <frame name="top" src="http://newstartdot.com/a/gig/frame2.php?redirect_link=http://newstartdot.com/a/gig/submit2.php?site=http://opti.aiophosting.com&email=hruz.aiop@ezvib.com" scrollbars=no scrolling=no framespacing=0 frameborder=yes border=1 bordercolor="black" marginwidth=0 marginheight=0 noresize>
    <frame name="bottom" src="http://opti.aiophosting.com/4/more/help/now.html?from=http://newstartdot.com/a/gig/index.php" framespacing=0 frameborder=no border=0 marginwidth=0 marginheight=0>
    </frameset>

    If <frameset> is the problem, what's a good way to re-write this part using <iframe> or other html code?

    Thanks for your help!

    Franto
     
    Solved! View solution.
    hruz, May 19, 2015 IP
  2. #2
    Do you run the server? Have you contacted your web host?

    Can you link to the error page?

    I would recommend staying away from using iFrames if you can.
     
    Anveto, May 19, 2015 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    Considering it's framesets (which have no real business on a modern website) pulling from different domains (sketchy/sleazy/questionable) I'd not be surprised if one of those domains is actively blocking it as THEY DON'T WANT YOU STEALING THEIR CONTENT.

    After all, that's what mod_security is FOR. Blocking people from doing precisely what it is it looks like you are trying to do.
     
    deathshadow, May 20, 2015 IP
  4. hruz

    hruz Greenhorn

    Messages:
    12
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    23
    Digital Goods:
    1
    #4
    Thanks Markus, just asking the web host about this problem resolved the issue - they found one of the rules causing it and fixed it - <frameset> was not the issue ...
     
    hruz, May 20, 2015 IP
    Anveto likes this.