It's a XAMPP installation I created the appropriate vhosts within the apache-vhost-configuration file.
here's an example of a VHost:
<VirtualHost *:80>
ServerAdmin admin@local
DocumentRoot "/Users/cbuchler/Development/web.dev/public/"
<Directory "/Users/cbuchler/Development/web.dev/public">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
ServerName web.dev
ServerAlias www.web.dev
ErrorLog "logs/web-dev-error_log"
CustomLog "logs/web-dev-custom-log" common
</VirtualHost>
Hi,
I use the following technique to create my Virtual Hosts, hope it helps you:
#First I leave reserved the localhost for get access into my www folder
<VirtualHost localhost:80>
ServerName localhost
DocumentRoot "c:/wamp/www/"
</VirtualHost>
#myapp.dev VirtualHost
<VirtualHost myapp.dev:80>
ServerName myapp.dev
DocumentRoot "c:/wamp/www/myapp/public"
</VirtualHost>
#subdomain.myapp.dev VirtualHost
<VirtualHost subdomain.myapp.dev:80>
ServerName subdomain.myapp.dev
DocumentRoot "c:/wamp/www/subdomain_app/public"
</VirtualHost>
Later I use the hosts file in my windows OS to enable it.
We do have the same setup with the only difference that my vhosts are not directly tied to a specific IP-Address.
In fact, what fixed my problem was to run composer again
composer update
After that I needed to patch the update that has been provided by adding the remember_token to my database.
And last but not least I changed the permissions on the "storage" folder.
Works like a charm now.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community