From d81366bff45a726727d36cfc4b096401f3a815fe Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 16 Nov 2018 23:09:54 +0100 Subject: [PATCH] cp htaccess in Vagrant VM on setup --- bin/dev/vagrant_provision.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/dev/vagrant_provision.sh b/bin/dev/vagrant_provision.sh index 0599efa0c..ac093e789 100755 --- a/bin/dev/vagrant_provision.sh +++ b/bin/dev/vagrant_provision.sh @@ -89,6 +89,9 @@ php bin/composer.phar install #cp /vagrant/util/htconfig.vagrant.php /vagrant/.htconfig.php cp /vagrant/util/local.ini.vagrant.php /vagrant/config/local.ini.php +# copy the .htaccess-dist file to .htaccess so that rewrite rules work +cp /vagrant/.htaccess-dist /vagrant/.htaccess + # create the friendica database echo "create database friendica DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci" | $MYSQL -u root -proot # import test database