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

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

CGI wrapper


  1. abrown
    Member

    I have added

    Action application/x-pair-sphp5 /cgi-sys/php-cgiwrap/USERNAME/php5.cgi
    AddType application/x-pair-sphp5 .php

    to the .htaccess file in my machform directory, so that I can edit files created by MachForm, do I need to add it anywhere else?

    Thanks!

    AB

    Posted 17 years ago #
  2. yuniar

    Hi,

    Hmm... I'm not sure why would you need to put that htaccess.
    Is there any error or anything wrong if you don't put the htaccess into your machform folder?


    MachForm Founder

    Posted 17 years ago #
  3. abrown
    Member

    All is working now. This from my isp:

    "Alright, sorry about that, I'm pretty sure everything is working now. The
    problem was that the session files under /tmp needed to have their permissions
    changed now that you are wrapping your scripts. Please let us know if you
    have any more questions about this or anything else."

    The present position is that the .htaccess file is in the root web directory and has the lines:

    Action application/x-pair-sphp5 /cgi-sys/php-cgiwrap/USERNAME/php5.cgi
    AddType application/x-pair-sphp5 .php

    Case closed, thanks Yuniar.

    AB

    Posted 17 years ago #

RSS feed for this topic

Reply