Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
DOC: Fix wsgi docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Wagner committed Sep 18, 2017
1 parent 96df373 commit 147d492
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions contrib/apache/002_intelmq_webinput_csv.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<VirtualHost *>
ServerName localhost

WSGIDaemonProcess www user=max group=max threads=5
WSGIScriptAlias / /usr/local/bin/intelmq_webinput_csv
WSGIScriptAlias / /path/to/intelmq-webinput-csv/intelmq_webinput_csv/bin/application.wsgi

<Directory /usr/local/bin/>
WSGIProcessGroup www
WSGIApplicationGroup %{GLOBAL}
<Directory /path/to/intelmq-webinput-csv/intelmq_webinput_csv/bin/>
WSGIProcessGroup www # optional
WSGIApplicationGroup %{GLOBAL} # optional
Order deny,allow
Allow from all
</Directory>
Expand Down
2 changes: 1 addition & 1 deletion docs/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pip3 install .

### Webserver configuration

Configure your server to use the intelmq_webinput_csv executable as WSGI script. A configuration snippet for Apache can be found in `contrib/apache/002_intelmq_webinput_csv.conf`.
Configure your server to use the intelmq_webinput_csv executable as WSGI script. A configuration snippet for Apache can be found in `contrib/apache/002_intelmq_webinput_csv.conf`. Adapt the WSGIScriptAlias URL and path to your needs.

# Afterwards

Expand Down

0 comments on commit 147d492

Please sign in to comment.