| # Copyright 2016 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| WSGIDaemonProcess whining user=moblab group=moblab processes=1 threads=5 |
| WSGIScriptAlias /wmatrix /whining/run.wsgi |
| |
| # Protect moblab from securtiy scans as it crashes the device. |
| <IfModule mod_rewrite.c> |
| RewriteEngine On |
| RewriteCond %{HTTP_USER_AGENT} ^$ [OR] |
| RewriteCond %{HTTP_USER_AGENT} ^.*(GoogleSecurityScanner).* [NC] |
| RewriteRule ^(.*)$ - [F,L] |
| </IfModule> |
| |
| <Directory /whining> |
| WSGIProcessGroup whining |
| WSGIApplicationGroup %{GLOBAL} |
| Require all granted |
| </Directory> |