Repoint Apache configuration through cPanel
How do I repoint apache configuration for a Virtualhost/SSL Virtualhost in cPanel?
Basically we would like to keep our current configuration since it's running a live site, and include a new code on the same server, repoint apache to it, but still keep and not overwrite the current
.
file I get the description:
The full path for
is not created. And if I'm to include a different
path in the
file I'm not sure what to include.
httpd.conf.
httpd.conffile I get the description:
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2_2/username/domain.com/*.conf"
# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
# SSL
# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.The full path for
/usr/local/apache/conf/userdata/std/2_2/username/domain.com/*.confis not created. And if I'm to include a different
htdocspath in the
.conffile I'm not sure what to include.
-
The quickest, simplest, method for this will depend on your exact configuration. You may find the information you are looking for here: I personally recommend that you adjust your existing configuration so that it uses one of the methods in those documents, and then going forward you won't have any issues running EasyApache in WHM. This will also prevent issues from happening when you create additional accounts or domains in cPanel. 0
Please sign in to leave a comment.
Comments
1 comment