<p>I can only recommend going with DDEV (see this here: <a href="https://craftcms.com/docs/getting-started-tutorial/install/" rel="nofollow noreferrer">https://craftcms.com/docs/getting-started-tutorial/install/</a>). It's better than all other forms of setup.</p>

CC BY-SA 4.0
2023-01-15T20:47:07.937Z
2023-01-15T20:47:07.937Z
Matthias Redl-Mann
<p>I installed Craft CMS in /Volumes/Drive2/WWW/Craft using command line process and successfully done.
But when sign-in in admin it will not proceed because it has error &quot;Failed to load resource: net::ERR_EMPTY_RESPONSE&quot;.</p>
<p>I have already followed the instructions in v3.x installation document. And also the permissions for the folders/files, instead 774 I set them to 777 to make it run.</p>
<p>Is there other things to do or proper localhost setup to make it run smoothly with no errors?</p>
<p>In vhosts file:</p>
<pre><code>&lt;VirtualHost *:80&gt;
    ServerName craftcms.test
    ServerAlias craftcms.test
    DocumentRoot &quot;/Volumes/Drive2/WWW/Craft/web&quot;

    &lt;Directory &quot;/Volumes/Drive2/WWW/Craft&quot;&gt;
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
    &lt;/Directory&gt;
&lt;/VirtualHost&gt;
</code></pre>
<p>In httpd file:</p>
<pre><code>DocumentRoot &quot;/Volumes/Drive2/WWW/&quot;
&lt;Directory &quot;/Volumes/Drive2/WWW/&quot;&gt;
    Options FollowSymLinks Multiviews
    MultiviewsMatch Any
    AllowOverride All
    Require all granted
&lt;/Directory&gt;
</code></pre>

<craft3>
Proper Localhost Setup in MacOS Catalina
# Proper Localhost Setup in MacOS Catalina

(Asked by: username_0 on 2023-01-15)

I installed Craft CMS in /Volumes/Drive2/WWW/Craft using command line process and successfully done.
But when sign-in in admin it will not proceed because it has error "Failed to load resource: net::ERR_EMPTY_RESPONSE".
I have already followed the instructions in v3.x installation document. And also the permissions for the folders/files, instead 774 I set them to 777 to make it run.
Is there other things to do or proper localhost setup to make it run smoothly with no errors?
In vhosts file:

    ServerName craftcms.test
    ServerAlias craftcms.test
    DocumentRoot "/Volumes/Drive2/WWW/Craft/web"

    
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Require all granted
    


In httpd file:
DocumentRoot "/Volumes/Drive2/WWW/"

    Options FollowSymLinks Multiviews
    MultiviewsMatch Any
    AllowOverride All
    Require all granted

**Tags:** craft3

---

## 1 answers

### Answer by username_1 on 2023-01-15. Score: 2

I can only recommend going with DDEV (see this here: <https://craftcms.com/docs/getting-started-tutorial/install/>). It's better than all other forms of setup.


---

