File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,16 +105,19 @@ Vagrant.configure("2") do |config|
105105 grep -q "Listen 81" /etc/apache2/ports.conf || sed -i "s/Listen 80/Listen 80\\ nListen 81/" /etc/apache2/ports.conf
106106
107107 echo "
108+ <Directory ${CODEIGNITER_PATH}>
109+ DirectoryIndex index.html index.php
110+ Options All
111+ AllowOverride All
112+ </Directory>
108113<VirtualHost *:80>
109114 ServerAdmin vagrant@localhost
110- DirectoryIndex index.php
111115 DocumentRoot ${CODEIGNITER_PATH}/public
112116 ErrorLog ${CODEIGNITER_PATH}/writable/apache/error.log
113117 CustomLog ${CODEIGNITER_PATH}/writable/apache/custom.log combined
114118</VirtualHost>
115119<VirtualHost *:81>
116120 ServerAdmin vagrant@localhost
117- DirectoryIndex index.html
118121 DocumentRoot ${CODEIGNITER_PATH}/build/coverage-html
119122 ErrorLog ${CODEIGNITER_PATH}/writable/apache/coverage-error.log
120123 CustomLog ${CODEIGNITER_PATH}/writable/apache/coverage-custom.log combined
You can’t perform that action at this time.
0 commit comments