Permalink
Browse files

Add Apache configuration instructions for Mac

  • Loading branch information...
1 parent 0dcd9d1 commit d20a342c95ff6ca318aa16f1dc80aa1133baf8b8 @paulwithap paulwithap committed with necolas Sep 16, 2012
Showing with 13 additions and 3 deletions.
  1. +13 −3 doc/htaccess.md
View
16 doc/htaccess.md
@@ -6,9 +6,9 @@ table of contents](TOC.md)
In Apache HTTP server, `.htaccess` (hypertext access) is the configuration file
that allows for web server configuration. HTML5 Boilerplate includes a number
of best practice server rules for making web pages fast and secure, these rules
-can be applied by configuring `.htaccess` file.
+can be applied in the `.htaccess` file.
-**You'll want to have these modules enabled for optimum performance:**
+**First, you'll want to have these modules enabled for optimum performance:**
* `mod_setenvif.c` (setenvif_module)
* `mod_headers.c` (headers_module)
@@ -61,7 +61,17 @@ That's it, you're done!
## On Mac
-Coming soon...
+1. **MAMP PRO**. On the main screen, click the `Apache` tab and ensure that all
+ the required modules listed above are 'checked', indicating they are
+ enabled.
+
+2. **MAMP**. Locate the `httpd.conf` file, which is typically found in
+ `/Applications/MAMP/conf/apache/httpd.conf`. Open the file in a text editor
+ and uncomment all of the required modules listed above. Once you have done so,
+ reset MAMP.
+
+3. **XAMPP**. Follow the same steps as for MAMP, but look for `httpd.conf` in
+ `/Applications/XAMPP/etc/httpd.conf`.
## Security

0 comments on commit d20a342

Please sign in to comment.