Hello.
vps running centos linux , with centos web panel.
Moved my Magento 2 site from shared hosting to vps .. everything seems to be working except Web setup wizard in admin.
after countless search and reading about the issue , suggestion is that , magento is being served from /pub folder , and setup wizard wont work because this is the intended behaviour. solution is to point apache document root to root installation of magento.
looking at apache config file .. is see this
DocumentRoot "/usr/local/apache/htdocs"
<Directory "/usr/local/apache/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
#
http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
as it states , DocumentRoot: The directory out of which you will serve your
documents. By default, all requests are taken from this directory.
however, all my documents are located in /home/USERNAME/public_html/
so this is a bit confusing ..
Magento installed in public_html as a root installation . so question is , how can i change document root from /pub to / from within apache config?
Thanks.