S
S
serkah2018-03-07 12:26:40
Apache HTTP Server
serkah, 2018-03-07 12:26:40

Always fall on apache2 stub?

I enter the site address - I fall on the Apache stub, here are the host settings -

<VirtualHost laravel.loc:*80>
  DocumentRoot /home/sergey/domains/laravel.loc/public
  ServerName localhost
  ServerAlias www.laravel.loc
    <Directory /home/sergey/domains/laravel.loc/public  >
    Options Indexes FollowSymLinks MultiViews Require all granted 
    AllowOverride FileInfo
    Order allow,deny
    allow from all
  </Directory>
</VirtualHost>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2018-03-07
@feanor7

Why localhost?
https://vps.ua/wiki/install-linux-vps/web-servers/...
If you hit a stub, then Apache is leading you to the root path. Open httpd.conf and the rest, and see where everything is written.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question