web hosting - Non User Agent Denied -


i'm reeealy stuck , way on head. i've got e-commerce site set woocommerce , realex (the merchant company). i'm having problems response url, being denied when programmatic (non user-agent) requests being made.

try: $ wget curl http://fifty2printsolutions.com/?wc-api=wc_gateway_realex_redirect

but when set valid user agent:

try: $ curl -a "mozilla/5.0 (macintosh; intel mac os x 10_6_8) applewebkit/534.30 (khtml, gecko) chrome/12.0.742.112 safari/534.30" http://fifty2printsolutions.com/?wc-api=wc_gateway_realex_redirect

it works.

this points server configuration issue, seems programmatic (non user-agent) requests being denied server 406 response. @ least extension author has told me

how can got fixing this? i'm host papa, support bit lack luster.

any appreciated.

i think might dealing apache mod_security issue here. experimentation, long have something in user-agent, process ok. however, if include words libwww or perl in user-agent, or leave blank, doesn't work.

realex epage redirect uses "epage.cgi / libwww-perl" (or similar, don't have in front of me) user-agent. hits both of rules, getting blocked. we've come across before , solution ask administrators of site modify mod_security rules allow this. once changed user-agent string else, incredibly, several shopping carts stopped working , had roll change out.

hope helps

owen


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -