Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-15T20:47:07.937Z
Answers.LastActivityDate: 2023-01-15T20:47:07.937Z
Answers.UserDisplayName: Matthias Redl-Mann
Body: <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>
  
Tags: <craft3>
Title: Proper Localhost Setup in MacOS Catalina
ThreadText: # 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:
  
  ```
  <VirtualHost *:80>
      ServerName craftcms.test
      ServerAlias craftcms.test
      DocumentRoot "/Volumes/Drive2/WWW/Craft/web"
  
      <Directory "/Volumes/Drive2/WWW/Craft">
          Options Indexes FollowSymLinks Includes ExecCGI
          AllowOverride All
          Require all granted
      </Directory>
  </VirtualHost>
  
  ```
  
  In httpd file:
  
  ```
  DocumentRoot "/Volumes/Drive2/WWW/"
  <Directory "/Volumes/Drive2/WWW/">
      Options FollowSymLinks Multiviews
      MultiviewsMatch Any
      AllowOverride All
      Require all granted
  </Directory>
  
  ```
  
  **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.
  
  
  ---
  
  