Module: "FreePBX Framework", File: "/var/www/html/.htaccess missing"

I just started seeing this security alert. Framework is at 14.0.13.23 which appears to be the latest version. I logged into the console and there is a /var/www/htm/admin/.htaccess. Did something move, and do I need to do anything about this? Thank you for the info.

Michael

If you check the ownership of that file, you will probably see it’s owned by root:root. Fix by running

fwconsole chown

Just to be clear, there is no .htaccess in /var/www/html/ as the message says. There IS an .htaccess in /var/www/html/admin/. The permissions are -rw-rw-r-- and it is owned by asterisk.asterisk. The following .htacess files are also present:

./www/html/admin/.htaccess
./www/html/admin/api/.htaccess
./www/html/admin/modules/dashboard/classes/phpsysinfo/.htaccess
./www/html/admin/modules/zulu/vendor/tecnickcom/tcpdf/tools/.htaccess
./www/html/admin/modules/ucp/htdocs/.htaccess
./www/html/admin/modules/faxpro/vendor/tecnickcom/tcpdf/tools/.htaccess

It just seems like something was moved during an update? Should I just reinstall the module and see if it reappears?

Try

fwconsole ma downloadinstall framework --force
fwconsole reload

Sorry for the delay, I needed to wait for off hours. Thank you PitzKey, reinstalling the framework module worked perfectly. I appreciate your assistance.

Michael

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.