[MacPorts] howto/MAMP modified
MacPorts
noreply at macports.org
Mon Sep 22 15:04:19 PDT 2008
Changed page "howto/MAMP" by danocd at tiscali.it from 87.24.199.13*
Page URL: <http://trac.macports.org/wiki/howto/MAMP>
Diff URL: <http://trac.macports.org/wiki/howto/MAMP?action=diff&version=22>
Revision 22
Comment: Beginners will understand more
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MAMP
=========================================================================
--- howto/MAMP (version: 21)
+++ howto/MAMP (version: 22)
@@ -38,19 +38,33 @@
sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist
}}}
-Point your browser to http://localhost/ and verify that Apache is running. (For Apache 2.2.8, you should see a giant "It works!" displayed.)
+Point your browser to http://localhost/ (page refresh may be needed) and verify that Apache is running. (For Apache 2.2.9, you should see a giant "It works!" displayed.)
Reboot your machine, point your browser again to http://localhost/, and verify that Apache has started and is running.
-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:
-
-{{{
+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`, search for the line
+
+{{{
+#Include conf/extra/httpd-userdir.conf
+}}}
+
+and uncomment it this way:
+
+{{{
+#
Include conf/extra/httpd-userdir.conf
}}}
-and
-
-{{{
+now uncomment the line
+
+{{{
+#Include conf/extra/httpd-manual.conf
+}}}
+
+the same way:
+
+{{{
+#
Include conf/extra/httpd-manual.conf
}}}
@@ -124,7 +138,7 @@
Once you're logged in, simply exit the session
{{{
-mysql> exit
+mysql> exit ;
}}}
As a last test, reboot your machine and then run
@@ -148,7 +162,13 @@
sudo /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
}}}
-Update Apache's `httpd.conf` file to enhance the "DirectoryIndex" directive to include additional "index" files:
+Update Apache's `httpd.conf` file to enhance the "DirectoryIndex" directive to include additional "index" files. Search for:
+
+{{{
+DirectoryIndex index.html
+}}}
+
+and change it this way:
{{{
DirectoryIndex index.php index.html
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user or the server is
behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on howto/MAMP. If it was not you, please
report to .
More information about the macports-changes
mailing list