ostridge
Guru
- Joined
- Jan 22, 2015
- Messages
- 1,628
- Reaction score
- 520
IncrediblePBX 11-12-1 for RPi2 64GB sdxc
Asterisk 11.18 ; Incred GUI 12.0.30
Hi all, I'm getting the following sysinfo alert
"Security Issue
.htaccess files are disable on this webserver. Please enable them
This is a critical issue and should be resolved urgently"
The Alert points to http://wiki.freepbx.org/display/F2/Webserver Overrides
refers to (ubunto) apache2.conf or (redhat) httpd.conf
and Look for the context "<Directory "/var/www/html">" or "<Directory "/var/www">"
but the info there doesnot apply to Debian setup of apache2 v2.2.22
The file setup is not the similar. It requires to set .htaccess
AllowOverride All (uncommented and set to "All")
I noticed a file 'security' at /etc/apache2/conf.d/security
I was about to add:
#<Directory "/var/www/html"> # was going to enable this overide but message went away by itself ??? :-o
# AllowOverride All
# Order Deny,Allow
# Deny from all
#</Directory>
Uncommented the above then tried to restart apache with
# service httpd restart
but got "httpd: unrecognized service"
Using Webmin GUI:
Webmin /Servers/Apache Webserver
Stop Apache
Start Apache
Still gettng this error
For completeness see also /etc/apache2/conf.d/local-error-pages it has commented out stuff that perhaps needs reading.
I think I have been chasing my tail:-
In System Overview make sure that "SHOW NEW" gets clicked and becomes "SHOW ALL" obviously show all includes historic alerts no longer relevant.
So I conclude this as SOLVED
Bye
Asterisk 11.18 ; Incred GUI 12.0.30
Hi all, I'm getting the following sysinfo alert
"Security Issue
.htaccess files are disable on this webserver. Please enable them
This is a critical issue and should be resolved urgently"
The Alert points to http://wiki.freepbx.org/display/F2/Webserver Overrides
refers to (ubunto) apache2.conf or (redhat) httpd.conf
and Look for the context "<Directory "/var/www/html">" or "<Directory "/var/www">"
but the info there doesnot apply to Debian setup of apache2 v2.2.22
The file setup is not the similar. It requires to set .htaccess
AllowOverride All (uncommented and set to "All")
I noticed a file 'security' at /etc/apache2/conf.d/security
I was about to add:
#<Directory "/var/www/html"> # was going to enable this overide but message went away by itself ??? :-o
# AllowOverride All
# Order Deny,Allow
# Deny from all
#</Directory>
Uncommented the above then tried to restart apache with
# service httpd restart
but got "httpd: unrecognized service"
Using Webmin GUI:
Webmin /Servers/Apache Webserver
Stop Apache
Start Apache
Still gettng this error
For completeness see also /etc/apache2/conf.d/local-error-pages it has commented out stuff that perhaps needs reading.
I think I have been chasing my tail:-
In System Overview make sure that "SHOW NEW" gets clicked and becomes "SHOW ALL" obviously show all includes historic alerts no longer relevant.
So I conclude this as SOLVED
Bye