This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

https without certificate redirects to panel
#5
RE: https without certificate redirects to panel
Thanks for the reply.
(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)
#Alias
/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 Smile
Reply
Thanks given by:


Messages In This Thread
RE: https without certificate redirects to panel - by iraqiboy90 - 04-22-2020, 12:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 7 ,780 12-23-2020, 03:31 PM
Last Post: djkashdui1
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 42 ,421 08-22-2020, 02:49 PM
Last Post: kenzopoker1
How To Add Letsencrypt SSL certificate To Domain Centos 7 franselect 1 4 ,152 07-04-2020, 02:55 AM
Last Post: Feilding Weather

Forum Jump:


Users browsing this thread: 2 Guest(s)