Merci, je vais un peu regarder.
Est-ce que c'est possible de voir les user connecter actuellement avec une authentification http sous nginx?
Rrnuo
- 19 janv. 2018
- Inscrit 5 août 2014
Bonjour,
J'aimerais installé une authentification http avec login et mot de passe et une limite de login simultané sur mon serveur tournant avec nginx.
Est-ce que c'est possible? Pour le moment j'utilise htpassword mais j'ai trouver aucune informations pour limiter le nombre de loginMerci
- Sous debian Jessie
- Bonjour,
J'ai vu que pas mal de chose avait changer dans le tuto et j'ai voulu une fois repartir a zéro sur un nouveau serveur car mon installation date un peu...J'ai un problème avec le dépot dotdeb. Il me retourne cette erreur:
Failed to fetch http://packages.dotdeb.org/dists/jessie/InRelease Unable to find expected entry 'all/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
Merci ça fonctionneOyster wrote:Dans ton cas c'est cette ligne qu'il faut commenter :
SCRIPTWHITELIST=/usr/sbin/prelink
- Modifié
Je viens d'essayer, je ne peux pas installé libwww-perl alors j'ai commenter la ligne et j'ai reboot mais j'ai toujours l'erreur
Edit: J'ai désinstaller rkhunter et j'ai réinstallé mais même erreur- Bonjour, je me suis enfin décidé a faire la mise à jour mais j'ai l'erreur suivante quand j'ai mis a jour à la fin et j'ai installer php:
Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /usr/sbin/prelink
E: Problem executing scripts DPkg:ost-Invoke 'if [ -x /usr/bin/rkhunter ]; then /usr/bin/rkhunter --propupd; fi'
E: Sub-process returned an error code
Failed to perform requested operation on package. Trying to recover: - Modifié
Si je met les droits un user www-data je ne pourrai plus mettre un fichier par ftp avec mon user que j'utilise?- Bonjour,
J'ai une page d'erreur nginx qui s'affiche quand j'essaie d'installer komento (une extension pour joomla).
J'ai regarder le error.log nginx et j'ai ces erreurs là:
2015/02/07 22:56:21 [error] 831#0: *29060 FastCGI sent in stderr: "PHP message: PHP Warning: chmod(): Operation not permitted in /home/viking/www/site/plugins/system/ossystem/helper.php on line 78
PHP message: PHP Warning: chmod(): Operation not permitted in /home/viking/www/site/plugins/system/ossystem/helper.php on line 83
PHP message: PHP Warning: chmod(): Operation not permitted in /home/viking/www/site/plugins/system/ossystem/helper.php on line 90
PHP message: PHP Warning: file_put_contents(/home/viking/www/site/libraries/joomla/http/transport/cacert.pem): failed to open stream: Permission denied in /home/viking/www/site/libraries/joomla/filesystem/file.php on line 431
PHP message: PHP Warning: chmod(): Operation not permitted in /home/viking/www/site/plugins/system/ossystem/helper.php on line 95" while reading response header from upstream, client: 31.6.50.59, server: fribourgviking.net, request: "POST /administrator/index.php?option=com_installer&view=install HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.fribourgviking.net", referrer: "https://www.fribourgviking.net/administrator/index.php?option=com_installer"
2015/02/07 22:56:21 [error] 831#0: *29060 upstream sent invalid status "-1 Cannot create destination folder" while reading response header from upstream, client: 31.6.50.59, server: fribourgviking.net, request: "POST /administrator/index.php?option=com_installer&view=install HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.fribourgviking.net", referrer: "https://www.fribourgviking.net/administrator/index.php?option=com_installer"
Est-ce que quelqu'un aurait une idée? Ou déjà eu ce genre d'erreur?
Merci - Mais merci a toi pour ta disponibilité
- C'est bon sa fonctionne maintenant. Merci beaucoup.
J'ai " reject_unknown_helo_hostname " avec un # devant. C'est mieux de le laisser avec le # ? - root@mail:/# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = ipv4
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
milter_default_action = accept
milter_protocol = 2
mydestination = localhost
myhostname = mail.vieuxloupdemer.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
non_smtpd_milters = inet:localhost:12301
readme_directory = no
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_mynetworks, permit_inet_interfaces, permit_sasl_authenticated, reject_plaintext_session, reject_unauth_pipelining
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname,
smtpd_milters = inet:localhost:12301
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, reject_unknown_recipient_domain
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
smtpd_tls_key_file = /etc/ssl/private/dovecot.pem
smtpd_tls_security_level = encrypt
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/mail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = lmtp:unixrivate/dovecot-lmtp
virtual_uid_maps = static:5000
root@mail:/# - Je comprend pas... j'ai pourtant fait juste.
Que puis-je faire? - Voilà ça c'est quand je paramètre mon compte dans Outlook:
Sep 1 21:00:44 mail dovecot: auth-worker(16039): mysql(127.0.0.1): Connected to database postfix
Sep 1 21:00:44 mail dovecot: imap-login: Login: user=<raphael@vieuxloupdemer.net>, method=PLAIN, rip=31.6.31.236, lip=195.154. 136.160, mpid=16041, TLS, session=<c3y5ngUC0gAfBh/s>
Sep 1 21:00:47 mail dovecot: imap-login: Login: user=<raphael@vieuxloupdemer.net>, method=PLAIN, rip=31.6.31.236, lip=195.154. 136.160, mpid=16043, TLS, session=<n4zhngUC0wAfBh/s>
Sep 1 21:00:47 mail dovecot: imap(raphael@vieuxloupdemer.net): Disconnected: Disconnected in IDLE in=11 out=311
Sep 1 21:00:47 mail postfix/submission/smtpd[16044]: warning: database /etc/aliases.db is older than source file /etc/aliases
Sep 1 21:00:47 mail postfix/submission/smtpd[16044]: connect from unknown[31.6.31.236]
Sep 1 21:00:47 mail postfix/submission/smtpd[16044]: NOQUEUE: reject: RCPT from unknown[31.6.31.236]: 504 5.5.2 <UFO>: Helo co mmand rejected: need fully-qualified hostname; from=<raphael@vieuxloupdemer.net> to=<raphael@vieuxloupdemer.net> proto=ESMTP he lo=<UFO>
Sep 1 21:00:47 mail postfix/submission/smtpd[16044]: lost connection after RCPT from unknown[31.6.31.236]
Sep 1 21:00:47 mail postfix/submission/smtpd[16044]: disconnect from unknown[31.6.31.236]
Sep 1 21:01:23 mail dovecot: imap(raphael@vieuxloupdemer.net): Disconnected: Logged out in=701 out=2116 - Je peux envoyer et reçevoir des mail avec le webmail par contre je ne peux pas envoyer de mail avec un programme de mail. Pourtant j'ai mis les bons paramètres
- J'ai pas de souci avec le webmail pour envoyer et reçevoir des mail par contre en mettant les paramètre dans " courrier " impossible d'envoyer un mail tout comme dans outlook.
Je reçoit mais je n'arrive pas envoyer d'email.
J'ai ce message d 'erreur dans les logs:
Sep 1 20:48:45 mail postfix/submission/smtpd[15782]: warning: database /etc/aliases.db is older than source file /etc/aliases
Sep 1 20:48:45 mail postfix/submission/smtpd[15782]: connect from unknown[31.6.31.236]
Sep 1 20:48:46 mail dovecot: auth-worker(15787): mysql(127.0.0.1): Connected to database postfix
Sep 1 20:48:46 mail postfix/submission/smtpd[15782]: disconnect from unknown[31.6.31.236] - Pour info, ceux qui un mauvais résultat avec votre DKIM sur mail-tester j'ai enlever " v=DKIM1 " dans ma zone dns est c'est tout bon.
- Merci beaucoup
- Hardware wrote:Bah cherche un peu quoi, ça doit pas être difficile à trouver
Lol j'ai trouvé c'est pas facile. Par contre je sais pas quoi mettre. Mon nom de domaine? Mon hostname?
J'aimerais bien mais je trouve pas ou c'est chez onlineHardware wrote:Faut que tu modifies le reverse depuis l'interface de ton hébergeur.