Skip to content

Instantly share code, notes, and snippets.

@sfentress
Created October 19, 2010 15:40
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 sfentress/634403 to your computer and use it in GitHub Desktop.
Save sfentress/634403 to your computer and use it in GitHub Desktop.
# run this apache instance with:
# apachectl -f "`pwd`/proxy/apache.conf" -k start
# shutdown the server with:
# apachectl -f "`pwd`/proxy/apache.conf" -k stop
Listen 0.0.0.0:1234
LoadModule headers_module libexec/apache2/mod_headers.so
LoadModule dir_module libexec/apache2/mod_dir.so
LoadModule mime_module libexec/apache2/mod_mime.so
LoadModule mime_magic_module libexec/apache2/mod_mime_magic.so
LoadModule proxy_module libexec/apache2/mod_proxy.so
LoadModule proxy_connect_module libexec/apache2/mod_proxy_connect.so
LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so
LoadModule php5_module libexec/apache2/libphp5.so
# replace this with the location of qucs
# ProxyPass /sparks/ http://sparks.portal.concord.org/sparks/
# ProxyPassReverse /sparks/ http://sparks.portal.concord.org/sparks/
ProxyPass /sparks/ http://localhost/~sfentress/
ProxyPassReverse /sparks/ http://localhost/~sfentress/
# replace these paths with the location of your sparks environment
DocumentRoot /Users/user/projects/sparks
PidFile /Users/user/projects/sparks/proxy/apache.pid
ErrorLog /Users/user/projects/sparks/proxy/apache-error.log
LockFile /Users/user/projects/sparks/proxy/accept.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment