From b4985750bdf1ad7c570723e3f8387f4c9ce3e561 Mon Sep 17 00:00:00 2001 From: dk-15 Date: Thu, 15 Jun 2017 18:44:09 +0530 Subject: Add Proxypass to apache conf --- apache.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apache.conf') 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 @@ # vim: syntax=apache ts=4 sw=4 sts=4 sr noet -# chown the entire project directory to give group permission to www-data -- cgit