Running ps aux | egrep '(apache|httpd)’

I get:

_www              548   0.0  0.0  2482800   1600   ??  S    10:49pm   0:00.00 
/usr/sbin/httpd -D FOREGROUND
_www              542   0.0  0.0  2481776   1588   ??  S    10:49pm   0:00.00 
/usr/sbin/httpd -D FOREGROUND
root              538   0.0  0.1  2482032   9828   ??  Ss   10:49pm   0:00.19 
/usr/sbin/httpd -D FOREGROUND
manal             571   0.0  0.0  2432804    800 s000  S+   10:58pm   0:00.00 
egrep (apache|httpd)

So it seems me, how can I change this, 

> On 2 Jul 2017, at 22:46, Yehuda Katz <yeh...@ymkatz.net> wrote:
> 
> What does the error log say?
> 
> What user and group is the httpd process actually running as? (`ps aux` 
> should tell you.)
> 
> - Y
> 
> Sent from a device with a very small keyboard and hyperactive autocorrect.
> 
> On Jul 2, 2017 4:12 PM, "Manal Helal" <manalor...@gmail.com 
> <mailto:manalor...@gmail.com>> wrote:
> I followed this guide to install apache on Sierra 10.12.5:
> 
> https://medium.com/@JohnFoderaro/how-to-set-up-apache-in-macos-sierra-10-12-bca5a5dfffba
>  
> <https://medium.com/@JohnFoderaro/how-to-set-up-apache-in-macos-sierra-10-12-bca5a5dfffba>
> 
> And it worked locally for a while logged in using the same Mac user.
> 
> The only problem is I need this for dynamic dns and to have external global 
> access. I followed the steps on the 172 rated first reply in this post:
> 
> https://stackoverflow.com/questions/2001881/correct-owner-group-permissions-for-apache-2-site-files-folders-under-mac-os-x
>  
> <https://stackoverflow.com/questions/2001881/correct-owner-group-permissions-for-apache-2-site-files-folders-under-mac-os-x>
> 
> Now both the domain name access and localhost access gives this error:
> 
> Forbidden
> 
> You don't have permission to access / on this server.
> 
> 
> Please advise how to resolve, 
> 
> Thank you very much, 
> 
> Manal

Reply via email to