M
M
MBodunov2020-01-15 11:18:03
Apache HTTP Server
MBodunov, 2020-01-15 11:18:03

Problem with session_crypto_module?

Good afternoon,
I am doing authorization using the Apache auth_form_module module. For its operation, you need to connect modules for working with sessions. If in .htaccess I prescribe
Session On
SessionCookieName session path=/
SessionMaxAge 86400
Then everything works fine, but the password is in clear text in cookies. The descriptions for the mod_session module say that session_crypto_module should be used. I added the module to the config, and if I add a line to .htaccess SessionCryptoPassphrase secret , as it is written in the description of the module, then when I try to log in, apache is simply reloaded.
The line appears in the logs
[Thu Jan 09 14:50:24.820587 2020] [core:notice] [pid 25160:tid 1016] AH00094: Command line: 'D:\\openserver\\modules\\http\\Apache-2.4+Nginx-1.7\ \bin\\httpd.exe -d D:/OpenServer/modules/http/Apache-2.4+Nginx-1.7 -fd:\\openserver\\modules\\http\\Apache-2.4+Nginx-1.7\\conf\ \httpd.conf'
Maybe tell me what's wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question