Comments (8)
Hi,
Could you check if #17314 fixes this issue ?
from glpi.
@cedric-anne Anne, I swapped lines in [src/System/Requirement/SessionsSecurityConfiguration.php]
and in [src/Auth.php]
but the message in [/front/central.php]
still remains the same. Big orange bar with this 'PHP directive "session.cookie_secure" should be set to "on" when GLPI can be accessed on HTTPS protocol.' message.
from glpi.
It looks like your htaccess file is not correctly applied. The expected directive is php_value session.cookie_secure 1
.
from glpi.
@cedric-anne OK, moved .htaccess to catalogue public
and now everything's good. Why wouldn't it work by setting this parameter globally in php.ini
?
Thank for your assistance, problem fixed by #17314 and .htaccess.
from glpi.
Why wouldn't it work by setting this parameter globally in
php.ini
?
It works when it is set in the php.ini
file. You may have to reload the related sevice, that can be Apache, PHP-FPM, ... depending on your server configuration.
from glpi.
@cedric-anne I've set it on all php.ini files I could find, restarted all services, no success, I've restarted even a whole VM:
fpm/php.ini:;session.cookie_secure = 1
cli/php.ini:;session.cookie_secure = 1
apache2/php.ini:;session.cookie_secure = 1
root@<REDACTED>:/etc/php/8.2#
But with .htaccess
it's OK.
from glpi.
The ;
char is used to comment lines. It means that the line is ignored and it explains why your configuration is not applied.
from glpi.
@cedric-anne Yeah, definetely, I have to buy new glasses or set bigger text in terminal... Thank you so much. I've read those lines for hundreds of times, didn't see the semicolone.
from glpi.
Related Issues (20)
- Database issue in migration of update to 10.0.12 HOT 2
- database filling timeouts when using installation UI
- Improve default dashboard colors
- Icons dropdown (for choosing a tabler icon) is very slow HOT 6
- "Default central tab" option in My setting displays raw html
- ugly borders corners for color picker fields
- We consume 33MB for a single page in GLPI HOT 4
- Ticket statics timeline broken
- Js console: Uncaught TypeError: ajax_request.profile.sql is undefined HOT 1
- .card-title broken display
- form helper for system name in asset definition displays raw html
- GLPI 11 : 404 error with ...-vue.js HOT 5
- Autoloading custom asset classes broken HOT 1
- Error on displaying network ports HOT 1
- Slow dashboard loading HOT 4
- ticket.knowbaseitems gets knowbaseitems by id not knowbaseitems_id from knowbaseitem_item HOT 1
- codespace build seems to install dependencies twice HOT 1
- "missing configuration" view miss tabler css HOT 2
- FAQ not visible for anonymous
- mail collector: content inside blockquote is ignored
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glpi.