I have a problem since I update macOS X to high sierra version I have some problem running apache service . When I try to access to this url http://social.demo in local I have Forbidden Page social.demo is a project made with Laravel
When run this command :
apachectl configtest
It return me this error :
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using Alexiss-iMac.local. Set the 'ServerName' directive globally to suppress this message
Syntax OK
So I check in /ect/hosts
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 api.demo
127.0.0.1 tv.demo
127.0.0.1 bo.demo
127.0.0.1 social.demo
127.0.0.1 website.demo
127.0.0.1 revive.demo
127.0.0.1 bo.demo
~
It seems ok I try to uncomment this in this file "/private/etc/apache2/extra/httpd-userdir.conf" and restart apache service
#Include /private/etc/apache2/users/*.conf
Even I try http://localhost I have a forbidden page
I don't where I have to look for ...
Edit : here my httpd-vhost.conf
<VirtualHost *:80>
DocumentRoot "/Users/alexisjqn//Documents/Ctor/public/"
ServerName http://social.demo/
SetEnv APPLICATION_ENV "development"
<Directory "/Users/alexisjqn//Documents/Ctor/public/">
DirectoryIndex index.php
AllowOverride All
Require all granted
Order allow,deny
Allow from all
</Directory>
</VirtualHost>