extract latest git commit ID from github, MKWS-420
[mkws-moved-to-github.git] / examples / apache2 / mkws-examples
index 146846e..7debe95 100644 (file)
@@ -2,12 +2,21 @@
 
 <VirtualHost *:80>
     ServerName example.indexdata.com
-    DocumentRoot /home/indexdata/mkws/examples/htdocs/
+    DocumentRoot /home/indexdata/demos/
+    Alias /mkws-sandbox/ /home/indexdata/mkws/examples/htdocs/
+    Alias /tools/htdocs/ /home/indexdata/mkws/tools/htdocs/
+    Alias /src/ /home/indexdata/mkws/src/
+    Alias /jasmine/ /home/indexdata/mkws/examples/jasmine/
+    Alias /test/ /home/indexdata/mkws/test/
     ErrorLog /var/log/apache2/mkws-examples-error.log
     CustomLog /var/log/apache2/mkws-examples-access.log combined
 
     RewriteEngine on
-    RewriteRule /service-proxy-auth/ http://mkws.indexdata.com/service-proxy/?command=auth&action=login&username=mkws&password=mkws [P]
+    RewriteRule /service-proxy-auth http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=mkws&password=mkws [P]
+    #ProxyPass /spcat/ http://spcatdemo.indexdata.com/spcat/
+    #ProxyPassReverse /spcat/ http://spcatdemo.indexdata.com/spcat/
+    ProxyPass /spcat/ http://catdemo-us.indexdata.com/spcat/
+    ProxyPassReverse /spcat/ http://catdemo-us.indexdata.com/spcat/
     #RewriteLog /var/log/apache2/mkws-examples-rewrite.log
     #RewriteLogLevel 9
 </VirtualHost>