[MacPorts] howto/Apache2 modified

MacPorts Wiki noreply at macports.org
Tue Sep 28 10:32:59 UTC 2021


Page "howto/Apache2" was changed by kwinklerb
Diff URL: <https://trac.macports.org/wiki/howto/Apache2?action=diff&version=19>
Revision 19
Comment: Add info about enabling the userdir module
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/Apache2
=========================================================================
--- howto/Apache2 (version: 18)
+++ howto/Apache2 (version: 19)
@@ -150,6 +150,18 @@
 
 {{{
 sudo cp /opt/local/etc/apache2/extra/httpd-userdir.conf.orig /opt/local/etc/apache2/extra/httpd-userdir.conf
+}}}
+
+Then, enable the userdir module. Edit `/opt/local/etc/apache2/httpd.conf`, locate the following line
+
+{{{
+#LoadModule userdir_module lib/apache2/modules/mod_userdir.so
+}}}
+
+Uncomment it if necessary by removing the "`#`" at the start of the line so that it reads:
+
+{{{
+LoadModule userdir_module lib/apache2/modules/mod_userdir.so
 }}}
 
 If you would like to be able to access web pages in the Sites directory of your home directory, edit `/opt/local/etc/apache2/httpd.conf` and locate the following line:
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/Apache2>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'howto/Apache2' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list