RewriteEngine on
RewriteCond %{SERVER_PORT} =80
RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI}
ServerAdmin webmaster@localhost
SSLEngine on
SSLCertificateFile /home/www/auth/Servidor_certificado.crt
SSLCertificateKeyFile /home/www/auth/Servidor_privada.key
SSLCACertificateFile /home/www/auth/CertificadosRaiz.crt
DocumentRoot /home/www/public
Options FollowSymLinks
AllowOverride All
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ErrorLog /home/www/log/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /home/www/log/access.log combined
AuthType Digest
AuthName "rutorrent"
AuthDigestDomain /home/www/public/rutorrent/ http://seedbox.torresegea.es/rutorrent
AuthDigestProvider file
AuthUserFile /home/www/auth/htpasswd
Require valid-user
SetEnv R_ENV "/home/www/public/rutorrent"
AuthType Digest
AuthName "completos"
AuthDigestDomain /home/www/public/completo/ http://seedbox.torresegea.es/completo
AuthDigestProvider file
AuthUserFile /home/www/auth/htpasswd2
Require valid-user
SetEnv R_ENV "/home/www/public/completo"
Options Indexes
Order allow,deny
allow from all