#MAC OS X APACHE CONFIG FOR MAC OS#
To configure an ODBC connection for Mac OS X, note the following procedure: Step 1: Driver Installer Updates Sample Configuration Files. Modify the nf file settings to specify the configuration of the directory, such as setting the configuration of the TEST directory, and increase the verification. ODBC driver managers use configuration files to define and configure ODBC data sources and drivers. Open your browser to enter http: // Your website addressĪpache Set Username Password Login Verification Achieve effectġ.Configure request forwarding server and environment path (reverse proxy) Options FollowSymLinks Multiviews Indexes Add to the file, the previous example can be commented out with #ĭocumentRoot "Project document root directory"ĮrrorLog "/private/var/log/apache2/mysites-error_log"ĬustomLog "/private/var/log/apache2/mysites-access_log" common Sudo cp /etc/apache2/extra/nf /etc/apache2/extra/
Modify nf file, file location in / etc / apache2 / extra /.Enter / etc / apache2 to see the Apache profile, open nf with your own editor, you can change it, you need to enter the root password when saved.Īpache's default root directory, you can use the default website root directory after configuring the virtual host, establish a different site directory in the right place according to your needs.Press fast keyboard Command + Shift + G to adjust the folder.If you don't use a VI editor, it doesn't matter. Change to (remove the # in front, so that the httpd-vhosts virtual host file is opened) Change to (modify apache configuration: set access to proxy resources to be unrestricted by default) Change to (rootname is the user name of this machine)