X-Git-Url: https://git.cweiske.de/stouyapi.git/blobdiff_plain/589b53932620c5a45f5b4e54b7575c1326050544..4c91565baae61adc17ce88ef17b8739cf7d782ea:/README.rst diff --git a/README.rst b/README.rst index f5df7cf..ece4430 100644 --- a/README.rst +++ b/README.rst @@ -35,17 +35,36 @@ The username will appear on your ouya main screen. Apache setup ============ + +.. note:: Step-by-step setup instructions can be found in + `HOWTO-SETUP.rst `__. + + Virtual host configuration:: - Script PUT /empty-json.php - Script DELETE /api/v1/queued_downloads_delete.php + + ServerName stouyapi.test + DocumentRoot /path/to/stouyapi/www + + CustomLog /var/log/apache2/stouyapi-access.log combined + ErrorLog /var/log/apache2/stouyapi-error.log + + Script PUT /empty-json.php + Script DELETE /api/v1/queued_downloads_delete.php + + + AllowOverride All + Require all granted + + - - AllowOverride All - +The following modules need to be enabled in Apache 2.4 +(with e.g. ``a2enmod``): -``mod_actions``, ``mod_expires`` and ``mod_php`` (or php-fpm) need to be enabled -for Apache 2.4. +- ``actions`` +- ``expires`` +- ``php`` (or php-fpm via fastcgi) +- ``rewrite`` The virtual host's document root needs to point to the ``www`` folder.