Permalink
Browse files

Configure Apache to work with Pow.cx

  • Loading branch information...
1 parent fa675fc commit 5b8816d8e3e3f865abe522cd20e6b655098c8edd @aiwilliams committed Jun 20, 2012
Showing with 19 additions and 0 deletions.
  1. +9 −0 etc/apache2/other/zzz_pow.conf
  2. +10 −0 setup.sh
@@ -0,0 +1,9 @@
+<VirtualHost *:80>
+ ServerName pow
+ ServerAlias *.dev
+ ServerAlias *.com
+
+ ProxyPass / http://localhost:20559/
+ ProxyPassReverse / http://localhost:20559/
+ ProxyPreserveHost On
+</VirtualHost>
View
@@ -2,6 +2,16 @@
ln -sv $PWD/lib/ $HOME/lib
+#######################
+# System
+#######################
+
+# I want Apache to run along with Pow.cx. We need to install a VirtualHost to
+# handle it.
+sudo ln -sfv $PWD/etc/apache2/other/zzz_pow.conf /etc/apache2/other/zzz_pow.conf
+sudo apachectl restart
+
+
#######################
# Ruby
#######################

0 comments on commit 5b8816d

Please sign in to comment.