service.conf (5) - это пример файла конфигурации Apache 2 для pkgtorrent-service (8) (service.conf(5) is an example Apache 2 configuration file for the pkgtorrent-service(8).)
Имя (Name)
pkgtorrent-service.conf(5) is an example Apache 2 configuration
file for the pkgtorrent-service(8).
Синопсис (Synopsis)
The default configuration maps the name torrent_service
in any
"subdirectory" of the web server root to the WSGI program. The
service cannot be installed in web server root because all multi-
file torrents contain a concept of a name, which is expanded to a
directory name when unpacked. The service generates .torrent
files which populates the url-list
metadata with the URL prefix
to the torrent_service
name. All files within the torrent are
relative to this prefix. The pkgtorrent-service(8) has been
tested extensively with Apache 2 and mod_wsgi, but should work
equally well with any other WSGI capable web server.
To use this configuration with Apache 2, install and enable
mod_wsgi
then enable this "site" using:
a2ensite pkgtorrent-service.conf