After setting up amp in Arch Linux running xampp/lampp I ran amp test and got
Warning: file_get_contents(http://localhost:7979/index.php): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
in phar:///home/colemanw/buildkit/bin/amp/src/Amp/Command/TestCommand.php on line 163
After a lot of trial-and-error with various apache settings I finally discovered this fix:
And that solved it so my built sites are now accessible in the web browser.
Suggestion:
Can we add something about this to the output of amp test on failure? Particularly if the error message contains "403" and we can detect that the +x bit is not set on the home directory.
After setting up amp in Arch Linux running xampp/lampp I ran
amp testand gotAfter a lot of trial-and-error with various apache settings I finally discovered this fix:
And that solved it so my built sites are now accessible in the web browser.
Suggestion:
Can we add something about this to the output of
amp teston failure? Particularly if the error message contains "403" and we can detect that the +x bit is not set on the home directory.