Lynx + cron + https

Discussion in 'Payments processing' started by dmaier, Oct 23, 2009.

  1. dmaier

    dmaier New Member

    Joined:
    May 5, 2009
    Messages:
    4
    Hi all,
    I've searched the forums the best I can, but can't find an answer to this one. I'm in the process of setting up recurring payment processing, and I've set up my site to force SSL on all pages (including the aMember directories). So when I run my cron job to touch cron.php, it doesn't work. I manually went in (using my browser) and called cron.php using https (e.g. https://www.yoursite.com/amember/cron.php) and I believe this worked (at least the red warning bar in the Admin UI telling me the cron job failed went away).

    So my thought was, I need to modify the cron job that calls Lynx to use HTTPS. Before doing this, I tried to manually call Lynx from the SSH command line as follows:

    "root@xxx:~# sudo /usr/bin/lynx -source https://www.yoursite.com/amember.cron.php"

    Unfortunately, I got this response:

    "Alert!: This client does not contain support for HTTPS URLs."

    So I _think_ this means that Lynx does NOT support HTTPS? I'm using Lynx 2.8.6 rel 4. But in looking at other sources, several of them say that Lynx DOES support HTTPS.

    So a few questions:
    - Does Lynx support HTTPS, and should I figure out how to enable this?
    - Are there any other command-line browsers out there similar to Lynx that I could use instead?
    - Am I OK forcing SSL throughout my site - will this break anything (else) with aMember?

    Thanks!!

    dan
  2. dmaier

    dmaier New Member

    Joined:
    May 5, 2009
    Messages:
    4
    More info on Lynx from http://lynx.isc.org/lynx2.8.5/lynx2-8-5/lynx_help/lynx_url_support.html :

    "The https URL has the same format, but the default port is :443. Patches for support of https URLs and the CONNECT procedure are available for qualified recipients via Lynx links. US Export laws and associated red tape pose severe impediments to inclusion of this support in the general distributions of freeware WWW clients such as Lynx. Sorry. "
  3. dmaier

    dmaier New Member

    Joined:
    May 5, 2009
    Messages:
    4
    Hmmm... I think I may have fixed it using curl instead of Lynx. Sorry for the false alarm.

Share This Page