(09-12-2014, 11:00 PM)TGates Wrote: Please explain your fix so others may use it too!
Domain name For example ( zpanel.tk )
fast normally add domain and dns
thane go to /etc/zpanel/configs/apache
and edit httpd.conf
add line
(
# Now we include the generic VHOST configuration file that holds all the ZPanel user hosted vhost data
Include /etc/zpanel/configs/apache/httpd-xvhosts.conf
)but before
# Now we include the generic VHOST configuration file that holds all the ZPanel user hosted vhost data
Include /etc/zpanel/configs/apache/httpd-vhosts.conf
thane create 1 file in /etc/zpanel/configs/apache ( httpd-xvhosts.conf )
Domain name For example ( zpanel.tk )
(((((((((((((
NameVirtualHost *:443
################################################################
# ZPanel generated VHOST configurations below.....
################################################################
# DOMAIN: zpanel.tk
<virtualhost *:443>
ServerName zpanel.tk
ServerAlias zpanel.tk
www.zpanel.tk
ServerAdmin admin@zpanel.tk
DocumentRoot "/var/zpanel/hostdata/zadmin/public_html/"
php_admin_value open_basedir "/var/zpanel/hostdata/zadmin/public_html/:/var/zpanel/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/zpanel/logs/domains/zadmin/zpanel.tk-error.log"
CustomLog "/var/zpanel/logs/domains/zadmin/zpanel.tk-access.log" combined
CustomLog "/var/zpanel/logs/domains/zadmin/zpanel.tk-bandwidth.log" common
<Directory />
Options FollowSymLinks Indexes
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
AddType application/x-httpd-php .php3 .php
ScriptAlias /cgi-bin/ "/_cgi-bin/"
<location /cgi-bin>
AddHandler cgi-script .cgi .pl
Options ExecCGI -Indexes
</location>
ErrorDocument 510 /_errorpages/510.html
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 403 /_errorpages/403.html
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)
SSLEngine on
SSLCertificateFile /var/zpanel/hostdata/zadmin/ssl_certs/zpanel_tk/zpanel_tk.crt
SSLCertificateKeyFile /var/zpanel/hostdata/zadmin/ssl_certs/zpanel_tk/zpanel_tk.key
SSLCACertificateFile /var/zpanel/hostdata/zadmin/ssl_certs/zpanel_tk/zpanel_tk.ca-bundle
</virtualhost>
# END DOMAIN: zpanel.tk
################################################################
Please Change Some directory and domain You Want
Hope it's Helpful For You....
Thanks...............