Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We're setting up craft as a webservice. One of my programmers came to me and said every "slug" he called from the frontend application resulted in a 302 redirect to the login page of craft CP. Afer some investigation it seems that he didnt sent any Useragent string from his frontend curl client. After adding a useragent string everything went ok. Is this normal behaviour or can it be configured?


share|improve this question
up vote 7 down vote accepted

This post may help: Is it possible to disable `requireUserAgentAndIpForSession` for specific instances?

Take a look at the requireUserAgentAndIpForSession config-setting.

Post from phone, sorry if formatting is a bit off.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.