Changes between Version 2 and Version 3 of howto/MAMP
- Timestamp:
- May 31, 2008, 10:17:43 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MAMP
v2 v3 51 51 Reboot your machine, point your browser again to http://localhost/, and verify that Apache has started and is running. 52 52 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: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: 54 54 55 55 {{{ … … 63 63 }}} 64 64 65 In {{{/opt/local/apache2/conf/extra/httpd-userdir.conf}}}, change the line65 In `/opt/local/apache2/conf/extra/httpd-userdir.conf`, change the line 66 66 67 67 {{{ … … 84 84 }}} 85 85 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.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. 87 87 88 88 '''''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.