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.

Global Sentora entry
#12
RE: Global Sentora entry
Code:
################################################################
# Apache VHOST configuration file
# Automatically generated by Sentora 1.0.3
# Generated on: 09:20 11th Nov 2015 CET
#==== YOU MUST NOT EDIT THIS FILE : IT WILL BE OVERWRITTEN ====
# Use Sentora Menu -> Admin -> Module Admin -> Apache config
################################################################

Listen 443
Listen 80

# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin samuelzajakala@hotmail.com
DocumentRoot "/etc/sentora/panel/"
ServerName panel.bydcode.com
ErrorLog "/var/sentora/logs/sentora-error.log"
CustomLog "/var/sentora/logs/sentora-access.log" combined
CustomLog "/var/sentora/logs/sentora-bandwidth.log" common
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options +FollowSymLinks -Indexes
   AllowOverride All
   Require all granted
</Directory>

# Custom settings are loaded below this line (if any exist)


</VirtualHost>

################################################################
# Sentora generated VHOST configurations below.....
################################################################

# DOMAIN: bydcode.com
<virtualhost *:80>
ServerName bydcode.com
ServerAlias  www.bydcode.com
ServerAdmin samuelzajakala@hotmail.com
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/bydcode_com"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/bydcode_com:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/zadmin/bydcode.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/bydcode.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/bydcode.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/bydcode_com">
 Options +FollowSymLinks -Indexes
 AllowOverride All
 Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)

# Custom VH settings (if any exist)

</virtualhost>
# END DOMAIN: bydcode.com
################################################################


# DOMAIN: clean4less.ie
<virtualhost *:80>
ServerName clean4less.ie
ServerAlias  www.clean4less.ie
ServerAdmin dumitrase81@yahoo.com
DocumentRoot "/var/sentora/hostdata/carlos/public_html/clean4less_ie"
php_admin_value open_basedir "/var/sentora/hostdata/carlos/public_html/clean4less_ie:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/carlos/clean4less.ie-error.log"
CustomLog "/var/sentora/logs/domains/carlos/clean4less.ie-access.log" combined
CustomLog "/var/sentora/logs/domains/carlos/clean4less.ie-bandwidth.log" common
<Directory "/var/sentora/hostdata/carlos/public_html/clean4less_ie">
 Options +FollowSymLinks -Indexes
 AllowOverride All
 Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)

# Custom VH settings (if any exist)

</virtualhost>
# END DOMAIN: clean4less.ie
################################################################

This is how my /etc/sentora/configs/apache/httpd-vhosts.conf looks like, I know I'm doing something wrong, but I dont know what, becuase http://bydcode.com and https://bydcode.com exist, but the https:// does not load my WordPress page, but it loads the default Apache index page. Also, if I change the
Code:
<virtualhost *:80>
to

Code:
<virtualhost *:443>

http://bydcode.com does not work, but https://bydcode.com does work, but the database is not beign loaded.. I know I'm doing something wrong, because I'm a total noob Confused
Reply
Thanks given by:


Messages In This Thread
Global Sentora entry - by Samuel - 11-11-2015, 01:08 AM
RE: Global Sentora entry - by TGates - 11-11-2015, 02:23 AM
RE: Global Sentora entry - by Samuel - 11-11-2015, 03:20 AM
RE: Global Sentora entry - by Samuel - 11-11-2015, 05:21 AM
RE: Global Sentora entry - by TGates - 11-11-2015, 05:23 AM
RE: Global Sentora entry - by bbspike - 11-11-2015, 05:27 AM
RE: Global Sentora entry - by Samuel - 11-11-2015, 06:07 AM
RE: Global Sentora entry - by Samuel - 11-11-2015, 07:23 AM
RE: Global Sentora entry - by Samuel - 11-11-2015, 07:56 AM
RE: Global Sentora entry - by Samuel - 11-11-2015, 09:26 AM
RE: Global Sentora entry - by TGates - 11-11-2015, 06:15 PM
RE: Global Sentora entry - by Samuel - 11-11-2015, 07:44 PM
RE: Global Sentora entry - by TGates - 11-11-2015, 11:29 PM
RE: Global Sentora entry - by Diablo925 - 11-11-2015, 11:37 PM
RE: Global Sentora entry - by Samuel - 11-12-2015, 02:42 AM
RE: Global Sentora entry - by TGates - 11-12-2015, 04:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,971 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,590 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 3 ,334 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 4 Guest(s)