Some how sorted the problem!
After editing my config file it worked! But now how can i use ssl for all my domains? After commenting below code and restarting my server helpd me.
Now its shows when i overwrite config file all collapses, my apache stops working after restart.
Find me a solution for this soon.
Code:
]# systemctl status httpd -l
* httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2016-01-02 23:51:17 EST; 3min 55s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 483 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 395 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 395 (code=exited, status=1/FAILURE)
Jan 02 23:50:09 sv1 systemd[1]: httpd.service failed.
Jan 02 23:51:17 sv1 systemd[1]: Starting The Apache HTTP Server...
Jan 02 23:51:17 sv1 httpd[395]: AH00526: Syntax error on line 56 of /etc/sentora/configs/apache/httpd-vhosts.conf:
Jan 02 23:51:17 sv1 httpd[395]: Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration
Jan 02 23:51:17 sv1 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jan 02 23:51:17 sv1 kill[483]: kill: cannot find process ""
Jan 02 23:51:17 sv1 systemd[1]: httpd.service: control process exited, code=exited status=1
Jan 02 23:51:17 sv1 systemd[1]: Failed to start The Apache HTTP Server.
Jan 02 23:51:17 sv1 systemd[1]: Unit httpd.service entered failed state.
Jan 02 23:51:17 sv1 systemd[1]: httpd.service failed.
After editing my config file it worked! But now how can i use ssl for all my domains? After commenting below code and restarting my server helpd me.
Code:
on
/var/Sentora/hostdata/zadmin/ssl_certs/$
/var/Sentora/hostdata/zadmin/ssl_cer$
/var/Sentora/hostdata/zadmin/ssl_cert$
</virtualhost>
# END DOMAIN: shoutme.xyz
Now its shows when i overwrite config file all collapses, my apache stops working after restart.
Find me a solution for this soon.
Hosting, Small Business and Affiliate Marketing Discussion board.