篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown mac http设置的注释相关的知识,希望对你有一定的参考价值。
## Common Used Command
```
// check module status
httpd -M
// test apache config
apachectl configtest
// restart apache service
sudo apachectl restart
sudo apachectl graceful
```
## Troubleshooting
```
// make sure there is no program occupid the 80 port
sudo lsof -i :80 | egrep "PID|LISTEN"
```
## Common Used File and Directory
```
// startup script
/System/Library/LaunchDaemons/org.apache.httpd.plist
// default configration
/etc/apache2/httpd.conf
// user sites
/etc/apache2/users/jay.lin.conf
```
## Proxy Setting
https://www.digitalocean.com/community/tutorials/how-to-use-apache-as-a-reverse-proxy-with-mod_proxy-on-centos-7
以上是关于markdown mac http设置的注释的主要内容,如果未能解决你的问题,请参考以下文章