AllowOverride setup for .htaccess

Im trying to setup a VM - Ubuntu 18 to run a local copy of sugar 9 enterprise to further develop custom code. I did have sugar running as a LAMP on my mac but this has caused issues and sugar advised a local VM is the better way to develop sugarcrm. We currently have a cloud instance of sugar so amusing a backup of that server to create the local system.

I first tried using vagrant as described in https://support.sugarcrm.com/Resources/Environments/Development_Environments/Vagrant_Development_Environment/ but get the following error when trying to install sugar

AllowOverride setup for .htaccessTest for .htaccess rewrites failed. This usually means you do not have AllowOverride set up for Sugar directory.

 

I know there has been discussions on this but have tried all these fixes and nothing seems to be working.

I have also tried setting up a Ubuntu server and installing my own LAMP stack but still get the same error

Mod rewrite is active 

.htaccess file is being read and process

AllowOveride All set on the directory of the host

Permissions all set

Has anyone else had this problem with getting a VM setup

Parents Reply Children