Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Last active December 20, 2015 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wboykinm/6091967 to your computer and use it in GitHub Desktop.
Save wboykinm/6091967 to your computer and use it in GitHub Desktop.
Ushahidi Apache Configuration
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/ushahidi/public_html/ushahidi-web
<Directory /home/ushahidi/public_html/ushahidi-web>
Options Multiviews FollowSymLinks -Indexes
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

I was working from the otherwise-excellent walkthrough for setting up Ushahidi on an EC2 when I came to step 8, where the syntax got a little choppy and instead of a copyable code snippet there was a screenshot of the 000-default file. I typed it out in the file attached here - can someone with write access to the wiki add it in?

But I don't want to be too hasty, because these instructions actually fail to get Ushahidi mounted at the specified IP, and I believe this 000-default is to blame. Once I saved it in, the browser couldn't connect. Am I missing a key directory definition or something?

@wboykinm
Copy link
Author

Update - I added it myself, but the install is still broken. In this case it's because any attempt to hit the IP (elastic or local) times out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment