Attempted to install Arch V4 to test out some of the features. Set up an instance on AWS, downloaded the Arches 4 community instance that I think Adam put up there a while ago. Once that was set up I went through and and followed the Developer Installation instruction to make sure everything was up to date and set up correctly. I then ran the runsever command, went to the website (public IP:8000) and got an error page that said "DisallowedHost at / Invalid HTTP_HOST header: 'xx.xx.xx.xx.:8000'. You may need to add u'xx.xx.xx.xx' to ALLOWED_HOSTS.", with the xx as my public IP. Based on additional information I went to the request.py file in ENV/lib/python2.7/site-packages/django/http and edited the "allowed_hosts" on line 102 to include my IP. Everything worked fine after that but I am guessing that this isn't standard protocol. Any suggestions on what I did wrong and how to fix it so I don't have to add that info when spin up another instance? Thanks.Andy
--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesproject+unsubscribe@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups "Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey Andy, great question. ALLOWED_HOSTS is actually a variable that you can define in your settings.py or settings_local.py file. It should be a list, so something likeALLOWED_HOSTS = ["12.34.56.78","arches4.andygraham.com"]would be a valid entry. You can also use ["*"] to allow all hosts. Not recommended for production of course, but could get past a the problem in a pinch if you ip or domain is changing a lot...I am glad to hear you were able to use that AMI. I made it a while ago, so it could probably stand some updates. Let me know if you find any problems with dependencies and such.Adam
On Nov 7, 2017 4:53 PM, "Andy Graham" <andy...@gmail.com> wrote:
Attempted to install Arch V4 to test out some of the features. Set up an instance on AWS, downloaded the Arches 4 community instance that I think Adam put up there a while ago. Once that was set up I went through and and followed the Developer Installation instruction to make sure everything was up to date and set up correctly. I then ran the runsever command, went to the website (public IP:8000) and got an error page that said "DisallowedHost at / Invalid HTTP_HOST header: 'xx.xx.xx.xx.:8000'. You may need to add u'xx.xx.xx.xx' to ALLOWED_HOSTS.", with the xx as my public IP. Based on additional information I went to the request.py file in ENV/lib/python2.7/site-packages/django/http and edited the "allowed_hosts" on line 102 to include my IP. Everything worked fine after that but I am guessing that this isn't standard protocol. Any suggestions on what I did wrong and how to fix it so I don't have to add that info when spin up another instance? Thanks.--Andy
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesprojec...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups "Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archesprojec...@googlegroups.com.
--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesproject+unsubscribe@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups "Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscribe@googlegroups.com.
--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesproject+unsubscribe@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups "Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscribe@googlegroups.com.