satskiy
(Anton Satskiy)
June 4, 2021, 8:45pm
1
Hi there
before freepbx 15 i use
ln -s /var/spool/asterisk/monitor /var/www/html/records
to create a web dir for call recording files
and i also use /var/www/html/ dir for creating custom php files
now i see that in /var/www/html/
Options -Indexes
so i have to change it to Options +Indexes
but now i see ERROR
any advice how to use custom php + records dir in a right way ?
Regards
jfinstrom
(James Finstrom)
June 4, 2021, 10:53pm
2
put a .htaccess file in the records directory itself, don’t modify the one in /var/www/html
Also consider password protection with .htpasswd
small proof of concept but untested and no sanity checking… the following gist should be able to create an .htpasswd file for a group
php ./genHtpasswd > /path/to/dir/.htpasswd
1 Like
system
(system)
Closed
June 15, 2021, 3:38pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.