summaryrefslogtreecommitdiffstats
path: root/smartproxy/ipa-smartproxy-apache.conf
diff options
context:
space:
mode:
Diffstat (limited to 'smartproxy/ipa-smartproxy-apache.conf')
-rw-r--r--smartproxy/ipa-smartproxy-apache.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/smartproxy/ipa-smartproxy-apache.conf b/smartproxy/ipa-smartproxy-apache.conf
new file mode 100644
index 000000000..53a62691f
--- /dev/null
+++ b/smartproxy/ipa-smartproxy-apache.conf
@@ -0,0 +1,30 @@
+Listen 8090
+
+<VirtualHost *:8090>
+
+ WSGIDaemonProcess smartproxy user=smartproxy processes=2 threads=1
+ WSGIProcessGroup smartproxy
+
+ WSGIScriptAlias /realm /usr/share/ipa/smartproxy/ipa-smartproxy.py
+ WSGIScriptAlias /features /usr/share/ipa/smartproxy/ipa-smartproxy.py
+ WSGIScriptAlias /ipa/smartproxy /usr/share/ipa/smartproxy/ipa-smartproxy.py
+
+ <Location "/realm">
+ Satisfy Any
+ Order Deny,Allow
+ Allow from all
+ </Location>
+
+ <Location "/features">
+ Satisfy Any
+ Order Deny,Allow
+ Allow from all
+ </Location>
+
+ <Location "/ipa/smartproxy">
+ Satisfy Any
+ Order Deny,Allow
+ Allow from all
+ </Location>
+
+</VirtualHost>