![]() ![]() If you don’t want app windows that are open to reopen when your Mac restarts, deselect Reopen windows when logging back in. Another reason why the Apache web server may not start is that. Restart your Mac On your Mac, choose Apple menu > Restart. $ sudo vim /etc/apache2/extra/nf # nf Include /private/etc/apache2/users/*. If Apache still refuses to start, check the log file for error messages. To see if the process is running, you could run 'htop' and then F4 to filter on 'httpd' to see all of the processes spawned by httpd. ![]() This command will tell you if the Apache httpd configuration (nf) is free of syntax errors. ![]() $ sudo vim /etc/apache2/nf # nf # User home directories Include /private/etc/apache2/extra/nf Then open another Apache config file and uncomment another file: short version of this command is apachectl -t. $ sudo vim /etc/apache2/nf # nf LoadModule authz_core_module libexec/apache2/mod_authz_core.so LoadModule authz_host_module libexec/apache2/mod_authz_host.so LoadModule userdir_module libexec/apache2/mod_userdir.so LoadModule include_module libexec/apache2/mod_include.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so Allows user home directories $ sudo vim /etc/apache2/users/nf # nf AllowOverride All Options Indexes MultiViews FollowSymLinks Require all granted Make sure the modules below are uncommented: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |