Foxy Forum Status

We're no longer responding to questions via our forum, but we will keep it up for historical reasons. If you can't find the answer you're looking for, please visit our knowledge base or contact us. If there's enough interest in the future, we may bring the forum back.

XML datafeed and password protection

cowtancowtan Member
in Bugs & Feature Requests edited May 2011
This is not a big issue for me but I thought I'd ask the question just in case there's a straightforward answer...

The site I'm developing at the moment I was protecting from prying eyes using straightforward .htaccess password protection. I'm also using the foxycart xml datafeed to capture and store info about the transactions that take place. The problem is that the xml datafeed can't access the script that handles it because the script is password protected, along with the rest of the site.

So far I've got round this by taking down the password protection but I'm wondering if there's any way for the XML feed to give the username and password so I can re-apply it.

  • lancelance Member, Community Support Member

    There really wouldn't be a way for the feed to provide credentials the way it is currently set up; however, you can add this to your .htaccess file:
    <Files "/path/to/script.ext">
      Allow from all
      Satisfy any
    That should successfully exclude that particular file from requiring password protection.

    Does this help?

  • cowtancowtan Member
    Blindingly obvious once someone points it out. Thanks Lance. Gordon
Sign In or Register to comment.