updated README with vhost details and updated version
This commit is contained in:
22
examples/vhost.erb
Normal file
22
examples/vhost.erb
Normal file
@@ -0,0 +1,22 @@
|
||||
<VirtualHost *:<%= @ae_vhost_port %> >
|
||||
ServerAdmin <%= @ae_server_admin%>
|
||||
ServerName www.<%= @ae_server_name %>
|
||||
ServerAlias <%= @ae_server_name %>
|
||||
DocumentRoot <%= @ae_doc_root %>
|
||||
|
||||
<% if @ae_use_https == true and @ae_http_https_fw == true -%>
|
||||
Redirect permanent / https://<%= @ae_server_name %>/
|
||||
<% else -%>
|
||||
DirectoryIndex <%= @ae_dir_index %>
|
||||
<Directory <%= @ae_doc_root -%>
|
||||
AllowOverride none
|
||||
Order Allow,Deny
|
||||
Allow from <%= @ae_allow_from %>
|
||||
</Directory>
|
||||
<% end %>
|
||||
ErrorLog /var/log/httpd/<%= @ae_server_name%>_error_log
|
||||
<% if @ae_use_access_log == true %>
|
||||
CustomLog /var/log/httpd/<%= @ae_server_name%>_access_log common
|
||||
<% end %>
|
||||
LogLevel <%= @ae_vhost_loglevel %>
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user