Hi All,
I have a requirement to enable basic authentication on stage dispatcher. Idea is to create a sample/test user through which stage dispatcher will be accessible.
I was going through below link
But I am not sure how to run the below commands on cloud
htpasswd -c /etc/httpd/conf.d/htaccess/credential.htpasswd testuser
Is there any other way around I can achieve this on AEM cloud environment?
Any help is highly appreciated.
Thanks,
Pradeep
Views
Replies
Total Likes
You can run this command on your local machine and include the resulting file in a dispatcher deployment. Technically it's possible, not sure if the constraints given the by the dispatcher in AEM CS allows you to do that.
Why do you want to have that? Keeping the google bot and drive-by-traffic out of your stage env? Or is it a more serious requirement for authentication?
Yes we need to avoid stage data to go to google search engine that is one of the requirement.
Now what I did as per the link above
authentication.conf file has below content