Next: , Previous: , Up: Use cases   [Contents][Index]


6.4 Configure HTTP

Default is to use HTTPS for the catalogue’s URLs. But HTTP can be used instead : /etc/mediatex/mdtx-COLL/servers.txt (see servers.txt)

https      no

However, both HTTPS and HTTP remain reachable. You can force HTTPS access if needed: /etc/mediatex/mdtx-COLL/apache2/home.htaccess

# uncomment to force https (no more http available)
SSLOptions +StrictRequire
SSLRequireSSL

Default is to protect contents by passwords. You can disable them if no more wanted: /etc/mediatex/mdtx-COLL/apache2/home.htaccess

# uncomment to disable authentication
SetEnvIf Request_Protocol "^H" NO_AUTH

Default is to disallow www-data user to lunch MEDIATEX queries. However allowing him make possible to upload files via a dedicated cgi script shown on “cache” section of the HTML catalogue.

# mediatex adm add user www-data
$ mediatex make

This extra feature remains protected by password even if authentication is disabled as shown before. The final query lauched by the www-data user is configurable into the /etc/mediatex/mdtx-COLL/put.sh script.

QUERY="mediatex upload+"