File tree 3 files changed +13
-1
lines changed
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ <IfModule mod_rewrite.c >
2
+ RewriteEngine on
3
+ RewriteRule ^$ app/webroot/ [L ]
4
+ RewriteRule (.*) app/webroot/$1 [L]
5
+ </IfModule >
Original file line number Diff line number Diff line change 2
2
sudo su -
3
3
yum install httpd -y
4
4
yum install php -y
5
+ yum install git -y
5
6
6
7
mv /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf-dist
7
8
cp /vagrant/vagrant/httpd.conf.default /etc/httpd/conf/httpd.conf
@@ -17,4 +18,9 @@ mkdir /vagrant/app/tmp/cache
17
18
mkdir /vagrant/app/tmp/cache/models
18
19
mkdir /vagrant/app/tmp/cache/persistent
19
20
mkdir /vagrant/app/tmp/logs
20
- chmod -R 777 /vagrant/app/tmp
21
+ chmod -R 777 /vagrant/app/tmp
22
+
23
+ rm -rf /vagrant/app/Model/Datasource/Waferpie.php
24
+ rm -rf /home/vagrant/waferpie-cakephp-datasource/
25
+ git clone https://github.com/s2way/waferpie-cakephp-datasource.git
26
+ cp /home/vagrant/waferpie-cakephp-datasource/Waferpie.php /vagrant/app/Model/Datasource/Waferpie.php
Original file line number Diff line number Diff line change @@ -998,6 +998,7 @@ NameVirtualHost *:80
998
998
# server name.
999
999
1000
1000
<VirtualHost *:80>
1001
+ Options FollowSymLinks
1001
1002
DocumentRoot /vagrant/
1002
1003
AllowOverride All
1003
1004
</VirtualHost>
You can’t perform that action at this time.
0 commit comments