my virtual host sends me to the bitnami index file

0

I wanted that when I accessed mivhost.com I would go to a specific folder use this in bitnami-apps-vhosts.conf from bitnami

 <VirtualHost *:80>

DocumentRoot "C:/Bitnami/wampstack-7.1.17-0/apache2/htdocs/public"
ServerAdmin [email protected]
ServerName mivhost.com 
ServerAlias www.mivhost.com

<Directory C:/Bitnami/wampstack-7.1.17-0/apache2/htdocs/public>
    Options FollowSymlinks
    AllowOverride All
    Require all granted
</Directory>

ErrorLog "C:/Bitnami/wampstack-7.1.17-0/apache2/htdocs/error_log"
CustomLog "C:/Bitnami/wampstack-7.1.17-0/apache2/htdocs/access_log" common

and add this to the windows host

127.0.0.1 mivhost.com
    
asked by Israel David Villarroel Moreno 24.07.2018 в 20:59
source

1 answer

0

Do you succeed in accessing your virtual host?

The code that shows this something incomplete. The <VirtualHost *:80> tag never closes. Recall that DocumentRoot must point to the root folder of your application, it will automatically look for the index file.

References:

answered by 09.08.2018 в 15:39