28 | | See if httpd.conf already exists in current install version |
29 | | |
30 | | {{{ |
31 | | open /opt/local/apache2/conf |
32 | | }}} |
33 | | |
34 | | If it does not exist, create an initial httpd.conf configuration file, otherwise skip this step: |
35 | | |
36 | | {{{ |
37 | | cd /opt/local/apache2/conf |
38 | | sudo cp httpd.conf.sample httpd.conf |
39 | | }}} |
| 28 | The first time you install apache2, a configuration file will be created for you at /opt/local/apache2/conf/httpd.conf. When you later upgrade apache2 to a newer version, be sure to manually compare your httpd.conf with the new sample configuration file at /opt/local/apache2/conf/original/httpd.conf and bring over any relevant changes. MacPorts will not modify your configuration files for you. |