]> git.mxchange.org Git - friendica.git/commitdiff
cp htaccess in Vagrant VM on setup
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 16 Nov 2018 22:09:54 +0000 (23:09 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 16 Nov 2018 22:09:54 +0000 (23:09 +0100)
bin/dev/vagrant_provision.sh

index 0599efa0c5fa44c93a2f17e8d4bc40332d24243b..ac093e7897df2eeddd2f5b44eb6d9eae34890253 100755 (executable)
@@ -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