Changes between Version 2 and Version 3 of howto/Apache2


Ignore:
Timestamp:
Dec 28, 2014, 11:25:55 PM (9 years ago)
Author:
magill@…
Comment:

update

Legend:

Unmodified
Added
Removed
Modified
  • howto/Apache2

    v2 v3  
    3131A sample configuration file is provided in `/opt/local/apache2/conf/original/httpd.conf`. Don't edit this file; leave it as is so you can refer to the defaults later. The first time you install apache2, the sample configuration file will be copied to `/opt/local/apache2/conf/httpd.conf` for you. You can edit this file as desired. When you later upgrade apache2 to a newer version, MacPorts will upgrade the sample configuration file but will not modify your `httpd.conf`, so be sure to manually compare your `httpd.conf` with the new sample configuration file and bring over any relevant changes. You should also keep backup copies of your `httpd.conf` in a safe place.
    3232
    33 == 2A:  Verify your config file ==
     33=  Step 3:  Verify your config file =
    3434Verify any changes you have made to the config file: /opt/local/apache2/conf/httpd.conf
    3535{{{
     
    3838This will return either "Syntax OK" or a specific line by line error listing.
    3939
    40 ==  2B: Activate Apache2 ==
     40=  Step 4: Activate Apache2 =
    4141Activate your Apache installation so that it starts now and every time you boot your machine:
    4242
     
    6363The default log file location is: '''/opt/local/apache2/logs/'''. The startup will be logged in "'''error_log'''"
    6464
    65 == 2C: Initial changes to the config file ==
     65= Step 5: Initial changes to the config file =
    6666Once you have determined that your basic installation is working, you need to consider making some initial changes to your config file.
    6767