- Code: Select all
/Users/[user]/.bitnami/stackman/machines/xampp/volumes/root/htdocs/larablog
But all the instructions are saying to use this:
- Code: Select all
<VirtualHost *:80>
ServerAdmin webmaster@localhost.laravel.com
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/larablog/public"
<Directory "/Applications/XAMPP/xamppfiles/htdocs/larablog/public">
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Require all granted
</Directory>
ServerName localhost.laravel.com
ServerAlias www.localhost.laravel.com
ErrorLog "logs/localhost.laravel.com-error_log"
CustomLog "logs/localhost.laravel.com-access_log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost.laravel.com
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/"
ServerName localhost
ErrorLog "logs/dummy-host2.example.com-error_log"
CustomLog "logs/dummy-host2.example.com-access_log" common
</VirtualHost>
I have the v-host enabled:
- Code: Select all
# Virtual hosts
Include etc/extra/httpd-vhosts.conf
My host file reads:
- Code: Select all
127.0.0.1 localbost
255.255.255.255 broadcasthost
::1 localhost
#fe80::1%lo0 localhost
127.0.0.1 localhost.laravel.com
When I go to localhost I get a dead socket. Going to the IP works. When I go to the alias, it doesn't work.
Is the path correct?