concrete5 on Cloud9
I was able to get mine installed. But I somehow gets logged out immediately.
It must be something to do with the server config setting.
Plain Apache+PHP template
Using WordPress template
I suspect something to do with php.ini or apache config...
But I feel like we should not do this.
Any better suggestion?
I feel like this is more for server config.
So, create /application/config/concrete.php and add this configuration block there:
Have not tested this but just by checking the code, it should be possible.
Also, do not leave this setting on when you go live! Unless the production environment is behind a similar environment, too.
You should create
Then add this
If you modify /generated_overrides/concrete.php, next time the admin change something on dashboard, your change gets overridden.
If you want to add some config option that will be added via FTP, you should write under /application/config/
You should create /application/config/concrete.php
Good point! I updated the answer so that no one would be misleaded.
Yeah, I'm still a bit new with the 5.7 core...
@Hissy found much better way to handle this by reading the following Symfony document (which 5.7 is using as a base framework)
So make a the /application/config/concrete.php text file, and paste the following code.
This should do the trick.
By trusting every incoming server as a proxy you're opening yourself up to extremely easy IP spoofing.
For trusted proxy...
I was thinking about limiting IP address, too.
The IP address range of AWS was very large and almost impossible to determine...
Old Cloud9 uses AWS ELBs. And I know ELB keeps changing the IP address every 60 seconds.
& IP range could be changed over the years, so we will need to update those IP list, too.
We'll try to come up with the better solution for AWS ELB
concrete5 put the comment in header
DO NOT EDIT THIS FILE DIRECTLY
on every config file under generated_overrides.
If it's not already true, we should remove the comment.
I came across the same thing.
Now my cloud9 concrete5 site is working fine without modifying the core.
Please check it out.