Is it possible to run as in the tree below?
└─> tree /var/www/ -L 3
/var/www/
└── html
├── app1
│ ├── app
│ ├── artisan
│ ├── bootstrap
│ ├── composer.json
│ ├── composer.lock
│ ├── config
│ ├── database
│ ├── gulpfile.js
│ ├── package.json
│ ├── phpspec.yml
│ ├── phpunit.xml
│ ├── public
│ ├── readme.md
│ ├── resources
│ ├── server.php
│ ├── storage
│ ├── tests
│ └── vendor
├── app2
│ ├── app
│ ├── artisan
│ ├── bootstrap
│ ├── composer.json
│ ├── composer.lock
│ ├── config
│ ├── database
│ ├── gulpfile.js
│ ├── package.json
│ ├── phpspec.yml
│ ├── phpunit.xml
│ ├── public
│ ├── readme.md
│ ├── resources
│ ├── server.php
│ ├── storage
│ ├── tests
│ └── vendor
└── app3
├── app
├── artisan
├── bootstrap
├── composer.json
├── composer.lock
├── config
├── database
├── gulpfile.js
├── package.json
├── phpspec.yml
├── phpunit.xml
├── public
├── readme.md
├── resources
├── server.php
├── storage
├── tests
└── vendor
I am not sure if this could be done with virtual hosts? What is the simplest way to accomplish this? Please let me know if you have any questions.
Yes use virtual hosts - for each app point the virtual host to the public folder as all others should be above this
Could you or someone else provide a simple example of a host file that would work? I have tried quite a few configurations with no success.
Please note I would like access each site from another machine on my lan such as
http://10.0.0.30/app1
http://10.0.0.30/app2
http://10.0.0.30/app3
and have each return as separate larval instances.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community