Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
litespeed_wiki:config:virtual-host-template [2015/07/30 19:47]
Michael Alegre created
litespeed_wiki:config:virtual-host-template [2015/07/30 19:51]
Michael Alegre [Example]
Line 41: Line 41:
 First I go to the template centralConfigLog in WebAdmin console > Configuration > Virtual Host Template. First I go to the template centralConfigLog in WebAdmin console > Configuration > Virtual Host Template.
  
-{{vhost_template.png?​700}}+{{ :​litespeed_wiki:​vhost_template.png?​direct,​800px |}}
  
 Looking at the General settings (the General tab) I can see places where the name I choose for my member vhost will come into play. Looking at the General settings (the General tab) I can see places where the name I choose for my member vhost will come into play.
  
-{{vhost_template_general_settings.png?​700}}+{{ :​litespeed_wiki:​vhost_template_general_settings.png?​direct,​800px |}}
  
 I start to add a new member virtual host by going to the Template tab and clicking Add on the Member Virtual Hosts table. I start to add a new member virtual host by going to the Template tab and clicking Add on the Member Virtual Hosts table.
  
-{{add_member_vhost.png?​700}}+{{ :​litespeed_wiki:​add_member_vhost.png?​direct,​800px |}}
  
 I name my virtual host "​test"​. This will affect where files for this vhost should be put. Remembering the General settings, this new vhost will now have its virtual host root at ''​$SERVER_ROOT/​test''​. Its config file will be ''​$SERVER_ROOT/​conf/​test''​. It's access log (not pictured above) will be ''​$SERVER_ROOT/​logs/​test.access.log''​. I am OK with this, so I leave the Member Virtual Host Root setting blank. I name my virtual host "​test"​. This will affect where files for this vhost should be put. Remembering the General settings, this new vhost will now have its virtual host root at ''​$SERVER_ROOT/​test''​. Its config file will be ''​$SERVER_ROOT/​conf/​test''​. It's access log (not pictured above) will be ''​$SERVER_ROOT/​logs/​test.access.log''​. I am OK with this, so I leave the Member Virtual Host Root setting blank.
Line 55: Line 55:
 I hit save. I hit save.
  
-{{member_vhost_settings.png?​700}}+{{ :​litespeed_wiki:​member_vhost_settings.png?​direct,​800px |}}
  
 Now I have a new virtual host. I graceful restart to apply these changes. Now I have a new virtual host. I graceful restart to apply these changes.
  
-{{template_graceful_restart.png?​700}}+{{ :​litespeed_wiki:​template_graceful_restart.png?​direct,​800px |}}
  • Admin
  • Last modified: 2015/08/13 13:28
  • by Michael Alegre