I'm using below htaccess file to prevent unauthorized access to Magmi.
Order deny,allow Deny from all Allow from 127.0.0.1 22.214.171.124 xxx.xxx.xxx.xxx
this htaccess file is working fine when I'm trying to access Magmi from a browser but it's preventing me to access Magmi when I'm trying to call magmi script from observer using curl.
server IP in htaccess to whitelist server itself but it's still not allowing me to access Magmi from the observer.
How can I whitelist server itself so that I can call Magmi script from Magento observer?
Thanks in advance.