Groups | Search | Server Info | Login | Register
Groups > alt.apache.configuration > #4340
| From | Ivan Shmakov <ivan@siamics.net> |
|---|---|
| Newsgroups | alt.apache.configuration |
| Subject | Re: OS 10.13 High Sierra Apache listening ports |
| Date | 2017-09-28 15:45 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <87wp4iygh2.fsf@violet.siamics.net> (permalink) |
| References | <eb6e4aac-b25a-46c4-b862-68fbd1119892@googlegroups.com> |
>>>>> JamieCoy <coyle.james1@gmail.com> writes:
> I'm running into an issue where the config file for Apache has some
> changes made in listening to ports. Previously I would just enter
> the ports in the "Listen' section. Now there is an additional section:
> <IfDefine SERVER_APP_HAS_DEFAULT_PORTS>
> Listen 8080
> grab</IfDefine>
> <IfDefine !SERVER_APP_HAS_DEFAULT_PORTS>
> Listen 80
> Previously, I'd just enter
> Listen 80 Listen 8102 Listen 8201
> What's the proper way to enter these ports in this new configuration?
Leave the <IfDefine /> sections intact, and put additional
(i. e., other than "Listen 80") ports outside of them; like:
<IfDefine SERVER_APP_HAS_DEFAULT_PORTS>
Listen 8080
[... anything else that happens to be here...]
</IfDefine>
<IfDefine !SERVER_APP_HAS_DEFAULT_PORTS>
Listen 80
[... anything else that happens to be here...]
</IfDefine>
## Put any additional 'Listen' directives below
Listen 8102
Listen 8201
I presume that for some reason they needed a way to switch the
server between :80 and :8080 (perhaps they offer an alternative
HTTP server for :80?), and to that end introduced a new
'SERVER_APP_HAS_DEFAULT_PORTS' configuration option. As your
new ports do /not/ clash with either of their defaults (:80 and
:8080), you can put them anywhere outside these <IfDefine />s.
--
FSF associate member #7257 http://am-1.org/~ivan/ 7D17 4A59 6A21 3D97 6DDB
Back to alt.apache.configuration | Previous | Next — Previous in thread | Next in thread | Find similar
OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-09-27 20:29 -0700
Re: OS 10.13 High Sierra Apache listening ports Bruce Esquibel <bje@ripco.com> - 2017-09-28 15:29 +0000
Re: OS 10.13 High Sierra Apache listening ports Ivan Shmakov <ivan@siamics.net> - 2017-09-28 15:45 +0000
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-09-30 12:30 -0700
Re: OS 10.13 High Sierra Apache listening ports Ivan Shmakov <ivan@siamics.net> - 2017-09-30 20:02 +0000
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-10-01 21:08 -0700
Re: OS 10.13 High Sierra Apache listening ports Jerry Stuckle <jstucklex@attglobal.net> - 2017-10-02 10:58 -0400
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-10-02 20:02 -0700
Re: OS 10.13 High Sierra Apache listening ports Jerry Stuckle <jstucklex@attglobal.net> - 2017-10-03 14:41 -0400
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-10-13 18:30 -0700
Re: OS 10.13 High Sierra Apache listening ports Jerry Stuckle <jstucklex@attglobal.net> - 2017-10-13 21:57 -0400
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-10-18 12:04 -0700
Re: OS 10.13 High Sierra Apache listening ports Jerry Stuckle <jstucklex@attglobal.net> - 2017-10-18 23:28 -0400
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-10-19 21:11 -0700
Re: OS 10.13 High Sierra Apache listening ports Jerry Stuckle <jstucklex@attglobal.net> - 2017-10-20 11:54 -0400
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-10-22 13:01 -0700
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-10-22 13:03 -0700
Re: OS 10.13 High Sierra Apache listening ports Jerry Stuckle <jstucklex@attglobal.net> - 2017-10-22 18:26 -0400
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-10-22 19:26 -0700
Re: OS 10.13 High Sierra Apache listening ports Kees Nuyt <k.nuyt@nospam.demon.nl> - 2017-10-23 17:26 +0200
Re: OS 10.13 High Sierra Apache listening ports Jerry Stuckle <jstucklex@attglobal.net> - 2017-10-23 15:38 -0400
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-11-07 21:48 -0800
Re: OS 10.13 High Sierra Apache listening ports Kees Nuyt <k.nuyt@nospam.demon.nl> - 2017-11-09 01:48 +0100
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-11-08 22:34 -0800
Re: OS 10.13 High Sierra Apache listening ports Kees Nuyt <k.nuyt@nospam.demon.nl> - 2017-11-09 13:46 +0100
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-11-10 21:42 -0800
Re: OS 10.13 High Sierra Apache listening ports Kees Nuyt <k.nuyt@nospam.demon.nl> - 2017-11-11 11:28 +0100
Re: OS 10.13 High Sierra Apache listening ports Bruce Esquibel <bje@ripco.com> - 2017-11-11 15:39 +0000
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-11-12 13:28 -0800
Re: OS 10.13 High Sierra Apache listening ports JamieCoy <coyle.james1@gmail.com> - 2017-11-15 13:59 -0800
Re: OS 10.13 High Sierra Apache listening ports Jerry Stuckle <jstucklex@attglobal.net> - 2017-10-22 18:21 -0400
Re: OS 10.13 High Sierra Apache listening ports Ivan Shmakov <ivan@siamics.net> - 2017-10-03 15:30 +0000
csiph-web