Hi,
Thanks for responding.
My OS is windows 10 and my virtual environment centos65-x64
The G:/www/jmscc/ is on my pc and must sync to the virtual environment and
get displayed.
I would like to implement this sample.
<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>
On Thursday, 10 September 2015 08:55:00 UTC+2, Alvaro Miranda Aguilera
wrote:
>
> Hello,
>
> This part seems to be reversed:
>
> Order Deny,Allow
>
> Deny from all
>
> Allow from 127.0.0.1
>
>
> What is your host OS and the guest os?
>
> Those windows path are on the guest?
>
>
>
> On Thu, Sep 10, 2015 at 6:20 PM, Supervan <[email protected] <javascript:>>
> wrote:
> > 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
> >
> >
> >
> >
> >
> >
> >
> > --
> > This mailing list is governed under the HashiCorp Community Guidelines -
> > https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation
> > of those guidelines may result in your removal from this mailing list.
> >
> > GitHub Issues: https://github.com/mitchellh/vagrant/issues
> > IRC: #vagrant on Freenode
> > ---
> > You received this message because you are subscribed to the Google
> Groups
> > "Vagrant" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an
> > email to [email protected] <javascript:>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/vagrant-up/c128fcaf-525b-44bf-81f2-cf73b55c6451%40googlegroups.com.
>
>
> > For more options, visit https://groups.google.com/d/optout.
>
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/a5d3df10-6589-42ec-98bf-e18ba919479e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.