Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:mac:builds:apache2 [2007/11/23 16:01] – billh | docs:mac:builds:apache2 [2008/12/19 23:19] (current) – billh | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== apache 2.2.6 ===== | ===== apache 2.2.6 ===== | ||
< | < | ||
- | ./configure --prefix=/ | + | # we can comment out modules we don't want later |
+ | ./configure --prefix=/ | ||
make | make | ||
- | make install | + | sudo make install |
</ | </ | ||
===== Post Install Configuration and Usage ===== | ===== Post Install Configuration and Usage ===== | ||
+ | |||
+ | ==== See Also ==== | ||
+ | * [[docs: | ||
+ | * [[docs: | ||
+ | * [[docs: | ||
+ | |||
==== httpd.conf ==== | ==== httpd.conf ==== | ||
- | **ServerName** | + | |
- | < | + | |
ServerName localhost | ServerName localhost | ||
</ | </ | ||
- | + | | |
- | **DirectoryIndex** | + | |
- | < | + | |
DirectoryIndex index.html index.htm index.php index.shtml default.html default.htm | DirectoryIndex index.html index.htm index.php index.shtml default.html default.htm | ||
</ | </ | ||
+ | * User/ | ||
+ | < | ||
+ | # | ||
+ | # If you wish httpd to run as a different user or group, you must run | ||
+ | # httpd as root initially and it will switch. | ||
+ | # | ||
+ | # User/Group: The name (or #number) of the user/group to run httpd as. | ||
+ | # It is usually good practice to create a dedicated user and group for | ||
+ | # running httpd, as with most system services. | ||
+ | # | ||
+ | #User daemon | ||
+ | #Group daemon | ||
+ | User www | ||
+ | Group www | ||
+ | </ | ||
+ | </ | ||
+ | * Fancy Indexing< | ||
+ | # Fancy directory listings | ||
+ | Include conf/ | ||
+ | </ | ||
==== start apache ==== | ==== start apache ==== | ||
Line 34: | Line 57: | ||
sudo / | sudo / | ||
</ | </ | ||
- |