Support the ongoing development of Laravel.io →
posted 10 years ago
Configuration
Last updated 2 years ago.
0

How did you create the vhosts?

Last updated 2 years ago.
0

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>
Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

We do have the same setup with the only difference that my vhosts are not directly tied to a specific IP-Address.

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

cbuchler cbuchler Joined 13 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.