Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

new apache config instructions/hints #WV-1741

Benjamin9dbdde72daf5
diff --git a/doc/manual_setup.md b/doc/manual_setup.md
index 214c3532c..9999b0488 100644
--- a/doc/manual_setup.md
+++ b/doc/manual_setup.md
@@ -56,7 +56,44 @@ grunt
The ``dist`` directory now contains ``site`` tar files that can be
can be uploaded and unpacked to a web server.
-##Setting a Worldview development environment in Windows
+## Mac OS X
+### Apache Server Configuration
+*These instructions work with OS X El Capitan. Directories and steps may differ with other OS X versions*
+
+Open httpd.conf
+```bash
+vi /etc/apache2/httpd.conf
+```
+Make sure the following modules are enabled:
+```bash
+LoadModule expires_module libexec/mod_expires.so
+LoadModule php5_module modules/libphp5.so
+```
+For data download to function, CGI scripts must be executable. To do that, enable the mod_cgid module in the httpd.conf file.
+```bash
+LoadModule cgid_module modules/mod_cgid.so
+```
+
+### Example Apache User Configuration
+To access apache user config:
+```bash
+vi /etc/apache2/users/Your-User-Name.conf
+```
+```bash
+Adjust the configuration:
+<Directory "/Users/Your-User-Name/Some-Dir">
+ AllowOverride All
+ Options Indexes MultiViews FollowSymLinks Includes ExecCGI
+ Require all granted
+</Directory>
+```
+Restart Apache:
+```bash
+apachectl restart
+```
+
+## Windows
+### Settings for a Worldview development environment
Worldview may be setup on Windows with XAMPP. First install XAMPP, the default location is at C:\xampp. Clone the Worldview repo at C:\xampp\htdocs and then the configuration repo in Worldview.
Edit the httpd.conf file at &lt;xampp root&gt;\apache\conf to uncomment:
@@ -67,4 +104,9 @@ Edit the httpd.conf file at &lt;xampp root&gt;\apache\conf to uncomment:
"LoadModule deflate_module modules/mod_deflate.so"
```
-Turn on xampp, and Worldview should be ready at "localhost/worldview/web"! If you encounter any code 500 errors, check the error log at &lt;xampp root&gt;\apache\logs
\ No newline at end of file
+Turn on xampp, and Worldview should be ready at "localhost/worldview/web"! If you encounter any code 500 errors, check the error log at &lt;xampp root&gt;\apache\logs
+
+## Troubleshooting
+If the steps above were not enough to get your environment set up, don't give up
+* Open apache logs to see if any obvious errors are being thrown
+* Open the console of your web browser to see if any recognizable errors are present