A
A
antonio02262018-03-31 18:53:38
Apache HTTP Server
antonio0226, 2018-03-31 18:53:38

How to configure site display paths in host (MacOS)?

Hi all.
Installed MAMP.
Opened hosts Registered 127.0.0.2
test.local

<VirtualHost 127.0.0.2>
    DocumentRoot "/Applications/MAMP/htdocs/twosite/public»
    ServerName myproject
    <Directory "/Applications/MAMP/htdocs/twosite/public»>
        Options All
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

Saved, open nothing loads. The public folder is in a laravel project
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
McBernar, 2018-03-31
@McBernar

In general, MAMP itself does this.
Try test.local
And don't forget to run MAMP :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question