apache - MAMP Apache2 new vhost 404 error -
i'm trying set new vhost did several times before. im using mac , mamp , configure this:
/applications/mamp/conf/apache/extra/httpd-vhosts.conf enter:
<virtualhost *:80> documentroot "/users/riggi/phpstormprojects/laufschuhsilex/web“ servername laufschuh.local </virtualhost>
in /etc/hosts enter:
127.0.0.1 laufschuh.local
then restart apache. works , still works many (>20) other local websites. 2 new sites i'm trying add wont work , return 404.
any hints on look?
i believe quotation mark formatting issue. how close quote @ end of documentroot formatted differently opening quote. make sure formatting correct copy correct quotation mark (the opening quotation mark) , paste on closing mark. can happen when text copy-pasted 1 place another.
Comments
Post a Comment