Skip to content

Commit f3d4793

Browse files
committed
Add Directory section
1 parent 826a5dd commit f3d4793

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Vagrantfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)