Groups | Search | Server Info | Login | Register


Groups > alt.apache.configuration > #4367

Re: OS 10.13 High Sierra Apache listening ports

From Kees Nuyt <k.nuyt@nospam.demon.nl>
Newsgroups alt.apache.configuration
Subject Re: OS 10.13 High Sierra Apache listening ports
Date 2017-11-11 11:28 +0100
Message-ID <6ljd0ddlrnarstfraqgpholfjef9gdrhq0@dim53.demon.nl> (permalink)
References (4 earlier) <723b0af6-0335-4ec6-960c-78f4e993d863@googlegroups.com> <pr870dlskc9kjtucb1lfbaff4u4s8553ol@dim53.demon.nl> <627fc313-eabd-430f-99ae-61cb9952f119@googlegroups.com> <t4j80dtpa2ggabbbaafa5b8b97dvdrm7lu@dim53.demon.nl> <3e645bff-823d-4449-80cc-239c13841a4c@googlegroups.com>

Show all headers | View raw


On Fri, 10 Nov 2017 21:42:34 -0800 (PST), JamieCoy
<coyle.james1@gmail.com> wrote:

>On Thursday, November 9, 2017 at 4:46:59 AM UTC-8, Kees Nuyt wrote:
>> On Wed, 8 Nov 2017 22:34:13 -0800 (PST), JamieCoy
>> 
>> >On Wednesday, November 8, 2017 at 4:49:44 PM UTC-8, Kees Nuyt wrote:
>> >> On Tue, 7 Nov 2017 21:48:13 -0800 (PST), JamieCoy
>> >>  wrote:
>> >> 
>> >> > So part of my problem was I had a bad hard drive!  Now,
>> >> > having most of my stuff restored, I'm on my way back to
>> >> > getting my site back up.  As of now, I'm at least getting
>> >> > "It works!" when firing up Apache, but not the content of my
>> >> > site.  I'm using the Document Root location as
>> >> > /Library/WebServer/Documents" with an added folder "htdocs"
>> >> > so the full path is /Library/WebServer/Documents/htdocs.
>> >> > This is not where I had the documents before - so perhaps
>> >> > that's why the content isn't being served up. Is the
>> >> > "WebServer" directory ONLY for a local http site?  Should I
>> >> > be serving up from another location? I feel like I'm really
>> >> > close to getting this thing back together, but I think the
>> >> > real issue here is the Document Root location.  Thanks for
>> >> > any help you folks could provide. 
>> >> 
>> >> Getting DocumentRoot right is essential.
>> >> 
>> >> Are you sure /Library/WebServer/Documents/htdocs is the real,
>> >> absolute path to your .html files? 
>> >> I have no idea of OS X naming conventions.
>> >> 
>> >> It might be as simple as forgetting to restart Apache after
>> >> editing configuration files...
>> >> 
>> >> > Thanks.
>> >> -- 
>> >> Regards,
>> >> Kees Nuyt
>> >
>> > It is indeed the path I'm currently using,
>> > and I did restart Apache after every edit to html.conf
>> >  Thanks.
>> 
>> Ok, next question: does Apache use the config file you edit?
>> There might be a default config somewhere else.
>> Look at the command line of the running instance to check it.
>> 
>> Also, this newsgroup is not very active, you may get better
>> answers in the mailing list.
>> 
>> Send a message to subscribe:
>> 	To: users-subscribe@httpd.apache.org
>> 	Subject: subscribe
>> 	From: JamieCoy <
>
> Thanks Kees, but I'm not altogether sure how to find out
> that Apache is using my http.conf file. Could you le the
> know how to do this?  As far as I know there is only one
> instance of a httpd.conf file in OSX.  What is confusing
> though, is that there is a "Sites" folder within my user
> folder, but there is also a "WebServer" folder within the
> root Library - in the past, that is where I've been able to
> serve up my site from . Now, no matter which folder I point
> to in httpd.conf, I only get "It Works!"  Very confusing.

I am not familiar with Mac OS X.
There is a lot of information on the web.
For example (warning: URLs might wrap):

https://discussions.apple.com/docs/DOC-12034
https://websitebeaver.com/set-up-localhost-on-macos-high-sierra-apache-mysql-and-php-7-with-sslhttps
https://coolestguidesontheplanet.com/set-up-virtual-hosts-in-apache-on-macos-high-sierra-10-13/
https://apple.stackexchange.com/questions/95660/how-to-fix-403-in-mac-os-x-built-in-apache

I think the last two discusses the problem you have.

Search for 
	OS X High Sierra Apache configuration
in yoyr favourite search engine to find many more.

Hope this helps.
-- 
Regards,
Kees Nuyt

Back to alt.apache.configuration | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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