Thread: Apps on port 80
View Single Post
Old 15th August 2012, 16:11
Croydon Croydon is offline
ISPConfig Developer
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 932
Thanks: 16
Thanked 264 Times in 208 Posts
Default Apps on port 80

Although this is also a configuration / installation topic, I think it is better posted in here, so:

I tried to set the app-vhost to port 80, because I just wanted to use a different host name for it but no special port.
This works as far as the config file (apps vhost) is written correctly but the apache cannot restart afterwards as the app vhost file contains a Listen directive.

{vhost_port_listen} Listen {apps_vhost_port}

Does the config template system allow to specify something like:
if port != 80 && port != 443 then {vhost_port_listen} Listen {apps_vhost_port}

so that if one specifies port 80 or port 443 the Listen part is not written?
I think this should then be part of the master conf.
Marius Cramer

pixcept KG
Reply With Quote
Sponsored Links