-
How to run concrete5 behind CloudFlare and AWS ELB
This is valid after concrete5.7. Since implementing Symfony framework, concrete5 is equipped with IP check. If the user changed the originated IP address, concrete5 will log you out. However, this security measurement doesn’t go well with advanced load balancer such as AWS Elastic Load Balancer or CloudFlare. From concrete5’s POV, it can only see the IP addresses of the load balancer ($_SERVER[‘REMOTE_ADDR’] to be exact). Because the balancer’s IP address will constantly be changing, concrete5 (Symfony framework) think your ID&PW may be stolen and log you out. First, you must make sure that the security group of EC2 server is only allowing the incoming access from ELB. You will get the […] -
concrete5 Auto Backup Server Shell Script
I just made this concrete5 auto-backup shell script. This is simple shell script to back up your concrete5.7.x site. This is the script that runs on your server. MIT LICENSE and NO GUARANTEE This script is licensed under The MIT License. USE IT AT YOUR OWN RISK. Set-up Go to GitHub and download concrete5-backup.sh. Add your server config in concrete5-backup.sh If you don’t uncomment MYSQL_PASSWORD option, you will have to enter MySQL Password every time you run this script. Upload the concrete5-backup.sh to your server Change the file permission chmod 700 concrete5-backup.sh Or whatever the permission you need to execute the file. But make sure to minimize the permission. Run the […] -
Using CloudFlare for concrete5
I’ve been using CloudFlare for many of my major high traffic volume concrete5 sites, and I’m getting the significant result now. Our concrete5 Japan site was reviewed by a major Internet software website, and it caused the high volume traffic yesterday. But it withstood the high traffic volume. Here is the implementation of concrete5 & CloudFlare for both developer and visitors. CloudFlare DNS & Hosting provider setting When developing or make the changes of your concrete5 site, you may want to bypass the CloudFlare network . CloudFlare gives you “direct.EXAMPLE.com” subdomain as your direct access to the root domain. E.g. ———- EXAMPLE.COM ———- CloudFlare suggests you to allocate ———- direct.EXAMPLE.COM […] -
Installing Redmine 1.0.1 on Media Temple (dv) 3.5
OK I spent 6 hours figuring out this. Now it looks like my Remine 1.0.1 is working fine. There were a couple Hiccup due to old documentations. For those of who want to install Redmine, especially on Media Temple (dv) 3.5 server… 1. Installing YUM I thought I could just follow… http://kb.mediatemple.net/questions/1564/Installing+YUM+on+a+%28dv%29+Dedicated-Virtual+3.5+Server However, when I tried to run YUM, I get the following message. Error Message This is because of incompatibility of rpm-python. You have two options. Whether to downgrade rpm-python, or upgrade the depending packages to rpm-phthon. I chose easier one… but it took me a while to find the old rpm-python… probably there may be security stuff you […]