[WordPress] use Apache status module "mod_status.so". Latest AWS Bitnami EC2 Wordpress Apache Image. #1491
Labels
solved
stale
15 days without activity
tech-issues
The user has a technical issue about an application
triage
Triage is needed
wordpress
Platform
AWS
bndiagnostic ID know more about bndiagnostic ID
d1d0db01-5d88-c766-fd4e-1ef6c6e4fb13
bndiagnostic output
===== Begin of bndiagnostic tool output =====
[Connectivity]
Server ports 22, 80 and/or 443 are not publicly accessible. Please check the
following guide to open server ports for remote access:
https://docs.bitnami.com/general/faq/administration/use-firewall/
[Apache]
Press [Enter] to continue:
Found recent error or warning messages in the Apache error log.
Please check the following guide to troubleshoot server issues:
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro
rs-apache/
[Resources]
Press [Enter] to continue:
Your instance has little available RAM memory.
You could try to increase your instance's memory. Please check your cloud
provider's documentation for more information.
===== End of bndiagnostic tool output =====
bndiagnostic was not useful. Could you please tell us why?
Using AWS Application Load Balancer
Describe your issue as much as you can
I am trying to use the server-status module by apache, we are trialing apache monitoring software via New Relic, this monitoring requires this mod_status module running via apache.
I have been unable to successfully get this page working "server-status". at most it tells me "Forbidden" when I try to access "/server-status"
New relic client doesn't seem to support the Bitnami modified apache configuration as original folders moved etc by bitnami.
I am slightly unclear where I need to put the following information to enable "server-status"
The information below is it for the bitnami.conf file or the https.conf file? or under the .conf files under the "vhosts" directory.
<Location "/server-status">
SetHandler server-status
Require host example.com
But I suspect that I am missing something else?
Are you guys able to push me in the right direction to enable "server-status" for your wordpress images? or do you not recommend enabling this for security reasons?
We are also currently trailing this Wordpress setup behind an application load balancer, so the SSL termination is completed on the ALB, and only HTTP 80 is sent to wordpress, no certificate is installed on the VM. this seems to work ok, but I am getting a notice in the apache error logs below
Got error 'PHP message: PHP Warning: Undefined array key "HTTP_X_FORWARDED_PROTO" in /bitnami/wordpress/wp-config.php on line 103'.
this seems to be in reference to the following entry in the wp-config file
lines 103 and 104 are below
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
$_SERVER['HTTPS']='on';
Are you guys able to push me in the right direction, is something else not being declared?
This for your help as always.
The text was updated successfully, but these errors were encountered: