View Single Post
  #6  
Old 26th June 2013, 19:37
dolito dolito is offline
Junior Member
 
Join Date: Jun 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey guys,

I'm not 1000% sure but I think as long as you will find code like this:

PHP Code:
                 $tmp_vhost_arr = array('ip_address' => $data['new']['ip_address'], 'ssl_enabled' => 0'port' => 80); 
in file /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 1317,1358,1475,1484 and 1330,.. (for ssl)

I think you have to replace all "{tmpl_var name='port'}" with e.g. "81" in the templates. But why the vars there if ports are still hardcoded??

Would make life way much easier, if you could configure these 2 ports in the web-interface ... just a few changes ..

After I changed these (on my local test system) in the plugin-file to 81 my templates got written like I want. Without any changes in some templates.

greetz
Reply With Quote