1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-09 11:42:16 +00:00

Update README.md

Added some info on running Supysonic as a WSGI app
This commit is contained in:
Alban 2013-08-26 12:38:01 +02:00
parent a3588222d0
commit e523e01760

View File

@ -65,7 +65,6 @@ To run it within an Apache2 server, first you need to install the WSGI module an
apt-get install libapache2-mod-wsgi
a2enmod wsgi
service apache2 reload
Next, edit the Apache configuration to load the application. Here's a basic example of what it looks like:
@ -76,6 +75,12 @@ Next, edit the Apache configuration to load the application. Here's a basic exam
Allow from all
</Directory>
You might also need to run Apache using the system default locale, as the one it uses might cause problems while
scanning the library. To do so, edit the `/etc/apache2/envvars` file, comment the line `export LANG=C` and
uncomment the `. /etc/default/locale` line. Then you can restart Apache.
service apache2 restart
With that kind of configuration, the server address will look like *http://server/supysonic/*
Quickstart