Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:template [2013/08/01 15:02]
Michael
litespeed_wiki:template [2015/07/30 19:54]
Michael Alegre removed
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}}
  
 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}}
  
 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?​600}}+{{add_member_vhost.png?​700}}
  
 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.
  
 I hit save. I hit save.
 +
 +{{member_vhost_settings.png?​700}}
  
 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}}