View Single Post
  #4  
Old 16th January 2012, 20:00
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,494
Thanks: 813
Thanked 5,261 Times in 4,125 Posts
Default

The port variable is coded fixed in the apache plugin, but you dont have to change any code to use custom ports. Just replace this line in the template:

Code:
<VirtualHost {tmpl_var name='ip_address'}:{tmpl_var name='port'}>
with e.g.:

Code:
<tmpl_if name='ssl_enabled'>
<VirtualHost {tmpl_var name='ip_address'}:1234>
<tmpl_else>
<VirtualHost {tmpl_var name='ip_address'}:12345>
</tmpl_if>
where 1234 is your new ssl port and 12345 is your new non ssl port.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote