In some cases you may encounter missing files: images, css or js files.
All those missing files are processed by the current bootstrap: index.php
If the session is set to regenerate on each request, as a normal security measure,
the currently logged user is logged off, because the session ID is different now.
To avoid this, below the following line
RewriteEngine On
add the line :
RewriteCond %{REQUEST_FILENAME} (\.gif|\.jpg|\.png|\.css|\.js)$ [OR]
Save and don’t forget to test.
Even though it’s a well known fact that real men do not test…
Looking for PHP, Laminas or Mezzio Support?
As part of the Laminas Commercial Vendor Program, Apidemia offers expert technical support and services for:
Leave a Reply