RE: https without certificate redirects to panel
04-22-2020, 12:34 AM
(This post was last modified: 04-22-2020, 08:08 AM by iraqiboy90.)
Thanks for the reply.
Here are the two apache conf files within sentora config folder:
httpd.conf
And this is the httpd-vhosts.conf (too long to be pasted here)
The problem happens with domain delta.no. Since this is the only domain I can test that does not have a SSL configuration on. I'm connecting to it by changing the windows host file to direct the domain to the IP of the server this conf file is located at, because it's actually located somewhere else with DNS.
Domain names has been changed for what I assume can be a slightly privacy improvement, since this is a public forum
(04-22-2020, 12:02 AM)Me.B Wrote: Please avoid DM for support. You will be ignored next time.I will avoid it next time
Here are the two apache conf files within sentora config folder:
httpd.conf
Code:
# Sentora Apache Include file
# Written by Bobby Allen, 15/05/2011
# Set the Sentora Alias (used for development, sable will eventually use a VHOST)
/Sentora /etc/sentora/panel
# Set a default server name for the master configuration to supress Apache daemon warnings
ServerName localhost
# Setup the directory settings and PHP security flags for the Sentora application directory.
<Directory /etc/sentora/panel>
Options +FollowSymLinks
DirectoryIndex index.php
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_admin_value upload_tmp_dir /var/sentora/temp
</IfModule>
</Directory>
# Disallow web access to directories that don't need it/that we don't want people looking in!
<Directory /etc/sentora/panel/cnf/>
Require all denied
</Directory>
<Directory /etc/sentora/panel/modules/*/hooks>
Require all denied
</Directory>
# Set server tokens
ServerTokens Prod
# Now we include the generic VHOST configuration file that holds all Sentora user hosted vhost data
Include /etc/sentora/configs/apache/httpd-vhosts.conf
And this is the httpd-vhosts.conf (too long to be pasted here)
Code:
https://pastebin.com/f2PvQJZv
The problem happens with domain delta.no. Since this is the only domain I can test that does not have a SSL configuration on. I'm connecting to it by changing the windows host file to direct the domain to the IP of the server this conf file is located at, because it's actually located somewhere else with DNS.
Domain names has been changed for what I assume can be a slightly privacy improvement, since this is a public forum