if angular app is working :
check server virtual host configuration for general (httpd.conf) http and https.conf, i.e my-site.conf, my-site.ssl.conf
httpd.conf
#
DocumentRoot "/usr/local/apache2/htdocs"
<Directory "/usr/local/apache2/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 None
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
my-site-ssl.conf
# specified in httpd.conf as default
DocumentRoot /usr/local/apache2/htdocs/mysite
my-site.conf
# specified in httpd.conf as default
DocumentRoot /usr/local/apache2/htdocs/mysite
# Redirect
Redirect / https://mysite/
No comments:
Post a Comment