Now search for “AllowOverride None” corresponding “DocumentRoot /var/www <Directory /var/www>” (which should be there TWO times) and change both to “AllowOverride All“. Search for these two lines.
Exit and save with CTRL+X, Y, ENTER.
Download
...
PGA from GIT
Download PGA from github to the document root of you web server /var/www.
Go inside the PGA directory (e.g /var/www/airavata-php-gateway)
Make sure the storage folder is writable
sudo chmod -R 777 app/storage
Go to [PGA_HOME]/app/config/pga_config.php and change the configuration to match your settings NOTE: this file will be removed in the future. So this will not be needed
Create a copy of app/config/app_config.ini.template file as app/config/app_config.ini
sudo cp app/config/app_config.ini.template file as app/config/app_config.ini