Answer the question
In order to leave comments, you need to log in
Why is the home page not opening?
Used by OpenServer with manual domain lookup. The domain is associated with the public folder:
Contents of httpd.conf:
<VirtualHost *:80>
DocumentRoot "e:/openserver/domains/laravel.loc/public"
ServerName "laravel.loc"
ServerAlias "laravel.loc"
ScriptAlias /cgi-bin/ "e:/openserver/domains/laravel.loc/public/cgi-bin/"
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
Maybe because you did not specify the DirectoryIndex directive in the config?
<VirtualHost *:80>
DocumentRoot "e:/openserver/domains/laravel.loc/public"
ServerName "laravel.loc"
ServerAlias "laravel.loc"
ScriptAlias /cgi-bin/ "e:/openserver/domains/laravel.loc/public/cgi-bin/"
DirectoryIndex index.php
</VirtualHost>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question