HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Developers' Forum (
-   -   Apps on port 80 (

Croydon 15th August 2012 16:11

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.

Croydon 15th August 2012 17:08

Ok - fixed it. Was a bug in

All times are GMT +2. The time now is 21:55.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.