![]() D SERVER_CONFIG_FILE="/private/etc/apache2/nf" <<< Where httpd. D AP_TYPES_CONFIG_FILE="/private/etc/apache2/mime.types" D DEFAULT_SCOREBOARD="logs/apache_runtime_status" ![]() D DEFAULT_PIDLOG="/private/var/run/httpd.pid" D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) # (look for this line `SERVER_CONFIG_FILE`, the last line here) If you don't know where is Apache's nf file: # Run this command to find where is nf # running httpd, as with most system services. # It is usually good practice to create a dedicated user and group for # User/Group: The name (or #number) of the user/group to run httpd as. # httpd as root initially and it will switch. PidFile: "/usr/local/var/run/httpd/httpd.pid"Īlso, to check and/or change, you can go to your nf file and look for the following part: # If you wish httpd to run as a different user or group, you must run Mutex default: dir="/usr/local/var/run/httpd/" mechanism=default ![]() Main ErrorLog: "/usr/local/var/log/httpd/error_log" How would I change the DocumenRoot on the version of Apache that came pre-installed on my Mac OS X system to a folder of my choosing 44. How do I change the document root of a Linux Apache server 0. You can check by running this command: $ sudo apachectl -D DUMP_RUN_CFG The nf file provided with OS X has a default deny that locks down every directory from every client.
0 Comments
Leave a Reply. |