This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

Not Acceptable message when inserting link


  1. adrian3021
    Member

    I am now getting this message when trying to add a form to my site as a link;

    Not Acceptable!

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

    I spoke to my host (hostgator) and they told me machform isnt supported on a shared server. I have other forms that I uploaded via a link a few years ago that still work but not this new one.

    Posted 9 years ago #
  2. Steve1951
    Member

    The person you talked to doesn't know what he is talking about. Of course Machform is supported on a shared server. I'm sure Appnitro personnel will chime in but it seems to be a problem with Apache Mod Security. You may need to add the following to your .htaccess file.

    <IfModule mod_security.c>
       # Turn off mod_security filtering.
       SecFilterEngine Off
    
       # The below probably isn't needed, but better safe than sorry.
       SecFilterScanPOST Off
    </IfModule>

    Or something similar.

    Posted 9 years ago #
  3. adrian3021
    Member

    thanks Steve, where would i find my .htaccess file. ?

    Posted 9 years ago #
  4. adrian3021
    Member

    not surre if anyone can help but on this page http://harbourlifehealth.com.au/forms/ I can't add the last form (posture survey) as a link like the 1st 3 forms on that page. The only way I can add it is to embed it on the page which is not how I want it.. thanks

    Posted 9 years ago #
  5. Steve1951
    Member

    Regarding .htaccess - I would encourage you to contact hostgator support and find someone who better understands the system. Here is a snippet from a hostgator page.

    We can't completely disable mod_sec, but we can find the rules blocking your scripts (403 error) and disable those rules. Thus, we can meet these requirements.
    
    Simply contact HostGator via phone or live chat to report mod security blockage.
    Posted 9 years ago #
  6. Steve1951
    Member

    To actually answer your question about .htaccess - It can be located at the top level http://harbourlifehealth.com.au/ or in the machform directory http://harbourlifehealth.com.au/machform/

    It may not exist, but you can create it. Just Google .htaccess for tons of information.

    Posted 9 years ago #
  7. AMurray
    Pro Member

    not surre if anyone can help but on this page http://harbourlifehealth.com.au/forms/ I can't add the last form (posture survey) as a link like the 1st 3 forms on that page. The only way I can add it is to embed it on the page which is not how I want it..

    It looks like that link Posture Survey is working.

    Posted 9 years ago #

RSS feed for this topic

Reply