apache: Fix file names with port based SSL virtual hosts
Ubuntu 10.04's apache ignores config files with colons in the name.
This commit is contained in:
parent
7ca414fc9f
commit
1b87c7bd04
2 changed files with 10 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
<VirtualHost <%= @ipaddr %>:<%= @port %>>
|
||||
|
||||
# General setup for the virtual host, inherited from global configuration
|
||||
ServerName <%= @site_fqdn %>
|
||||
ServerName <%= @site_fqdn.sub(/\.([0-9]+)$/, ':\1') %>
|
||||
|
||||
# Use separate log files for the SSL virtual host; note that LogLevel
|
||||
# is not inherited from httpd.conf.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue