Changes between Version 2 and Version 3 of howto/MAMP


Ignore:
Timestamp:
May 31, 2008, 10:17:43 PM (16 years ago)
Author:
jaguarcy+macports@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • howto/MAMP

    v2 v3  
    5151Reboot your machine, point your browser again to http://localhost/, and verify that Apache has started and is running.
    5252
    53 You may want to enable local access to the "Apache HTTP Server Manual" and to User web pages. In {{{/opt/local/apache2/conf/httpd.conf}}}, uncomment the lines:
     53You may want to enable local access to the "Apache HTTP Server Manual" and to User web pages. In `/opt/local/apache2/conf/httpd.conf`, uncomment the lines:
    5454
    5555{{{
     
    6363}}}
    6464
    65 In {{{/opt/local/apache2/conf/extra/httpd-userdir.conf}}}, change the line
     65In `/opt/local/apache2/conf/extra/httpd-userdir.conf`, change the line
    6666
    6767{{{
     
    8484}}}
    8585
    86 Restart Apache ({{{sudo /opt/local/apache2/bin/apachectl -k restart}}}) and verify that everything's running. You should now be able to go to http://localhost/manual/ to access the manual, and you should be able to access your personal user web site at http://localhost/~username/, where "username" is your login id.
     86Restart Apache (`sudo /opt/local/apache2/bin/apachectl -k restart`) and verify that everything's running. You should now be able to go to http://localhost/manual/ to access the manual, and you should be able to access your personal user web site at http://localhost/~username/, where "username" is your login id.
    8787
    8888  '''''Note:''''' When you upgrade your Apache installation (e.g., `sudo port upgrade apache2`), be aware that the upgrade will not affect your `http.conf` file, but '''it will overwrite the other configuration files''', such as the `httpd-userdir.conf` file. Therefore, if you've made any changes to those files (e.g., activating User web pages), you will need to save your `httpd-userdir.conf` file before upgrading and then reapply your changes after the upgrade. However, it would probably be a good idea to save your `http.conf` file too, just to be safe.