+ Reply to Thread
Results 1 to 3 of 3

Thread: Using the "sslencode" filter for executing fmencoder on another server

  1. #1
    Join Date
    Apr 2007
    Posts
    9

    Default Using the "sslencode" filter for executing fmencoder on another server

    I've successfully installed fmencoder on a separate FreeBSD server. When I try to open it directly in the browser, it returns the expected message:

    GET method not yet implemented


    Since it seems to be working on the non-Windows server (we're still trying to
    get the encoder to work on our Windows IIS Server), I was hoping to use
    the "sslencode" filter described in the FormMail documentation to execute the
    remote encoder. The idea is to still host the form on our main Windows
    server and still be able to encrypt the form output.

    Would you please send instructions on how to use the "sslencode" filter?
    Thank you.

  2. #2
    Join Date
    Apr 2007
    Posts
    9

    Default Re: Using the "sslencode" filter for executing fmencoder on another server

    Never mind.

    After pulling my hair out for a few days, we finally got formencoder to work on 2003 Windows IIS 6.0 (using PHP 5.2.1). Our server administrator did a great job setting up a cgi-bin for executables and setting proper permissions.

    Looks like the $SOCKET_FILTERS paths needed to be set properly (absolute paths with back slashes instead of forward slashes - $REAL_DOCUMENT_ROOT caused errors) and we had to use "httpencode" instead of the normal "encode" filter.

    $SOCKET_FILTERS = array(
    "httpencode"=>array("site"=>"www.yoursite.com",
    "port"=>80,
    "path"=>"/cgi-bin/fmencoder.exe",
    "params"=>array(array("name"=>"key",
    "file"=>"C:\\absolute\\path\\to\\cgi-bin\\pubkey.txt"))),

  3. #3
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: Using the "sslencode" filter for executing fmencoder on another server

    Hi,

    Glad to hear it's all working.

    absolute paths with back slashes instead of forward slashes - $REAL_DOCUMENT_ROOT caused errors
    This is new. Perhaps it's something new in PHP 5. In PHP 4, forward slashes worked on Windows because PHP did the translation internally.

    This might mean that you can now get the $FILTERS setting working and not use $SOCKET_FILTERS. It's worth a quick try because it's a significantly faster method.

    Make sure you use Windows \\ instead of /, of course.

    If you do need to use $SOCKET_FILTERS, you don't need to use sslencode to get an encrypted connection to fmencoder because your server is contacting itself. The "network" traffic never leaves the server so there's no security issue. The communciations is purely within the server.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. No "Sender" of the email
    By lemonade in forum FormMail Subscription Support
    Replies: 1
    Last Post: 28-Jun-2004, 09:11 PM
  2. "Internal Server Error": What'd I do wrong?
    By sgodun in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-May-2004, 01:01 AM
  3. Spiders and "The form has an internal error"
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 13-May-2004, 10:11 PM
  4. filter name
    By crabtree in forum FormMailEncoder/Decoder
    Replies: 1
    Last Post: 08-May-2004, 12:38 AM
  5. Email contains no "mesg"
    By xuric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 19-Apr-2004, 09:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts