summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordk-152017-06-15 18:44:09 +0530
committerdk-152017-06-15 19:02:21 +0530
commitb4985750bdf1ad7c570723e3f8387f4c9ce3e561 (patch)
treef6afd92d7f87ea0fc07c6a2d3ecf1912a713a0cc
parentb43ce0a128ab595a045ec019c6cf40438c818336 (diff)
downloadSBHS-2018-Rpi-b4985750bdf1ad7c570723e3f8387f4c9ce3e561.tar.gz
SBHS-2018-Rpi-b4985750bdf1ad7c570723e3f8387f4c9ce3e561.tar.bz2
SBHS-2018-Rpi-b4985750bdf1ad7c570723e3f8387f4c9ce3e561.zip
Add Proxypass to apache conf
-rw-r--r--apache.conf7
1 files changed, 5 insertions, 2 deletions
diff --git a/apache.conf b/apache.conf
index 6603c47..8502949 100644
--- a/apache.conf
+++ b/apache.conf
@@ -33,7 +33,7 @@
WSGIProcessGroup sbhs_vlabs
- WSGIScriptAlias /sb /home/dkoder/sbhs/index.wsgi
+ WSGIScriptAlias /sbhs /home/dkoder/sbhs/index.wsgi
Alias /static /home/dkoder/sbhs/static
@@ -52,6 +52,10 @@
CustomLog ${APACHE_LOG_DIR}/access.log combined
+ ProxyPass "/sbhs/experiment/pi/" "http://"
+ ProxyPassReverse "/sbhs/experiment/pi/" "http://"
+
+
#RewriteEngine On
#RewriteRule ^/sbhs(.*) /sb$1 [PT]
@@ -60,4 +64,3 @@
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
-# chown the entire project directory to give group permission to www-data