Hi,
Software
used: Virtualbox 5.04 and Vagrant 1.74 and Puphpet
Os: Win 10
Can someone
please assist,
I’m having problems pointing and display files in the virtual environment, its reading from the wrong place.
It’s displaying the “Congratulations! You are pretty awesome” page from g:\www\jmscc\html
1.
It creates a directory "HTML" inside the g:\www\jmscc
How can i set it so that is read and display the files in the g:\www\jmscc
source: 'G:\\www\\jmscc'
target: /var/www
my vhost is…
docroot: /var/www/jmscc
path: /var/www/jmscc
2.
Can I
run 2 or more virtual hosts inside the same virtual machine..
Got it working on WAMP by changing the httpd-vhosts.conf
<VirtualHost *:80>
ServerName jmscc.local
DocumentRoot " G:/www/jmscc/"
<Directory " G:/www/jmscc/">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName woods3.local
DocumentRoot "G:/www/woods3/"
<Directory "G:/www/woods3/">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
Thanks
<VirtualHost *:80>
ServerName jmscc.local
DocumentRoot " G:/www/jmscc/"
<Directory " G:/www/jmscc/">
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>