apache24-modules icon indicating copy to clipboard operation
apache24-modules copied to clipboard

myfixip working for https but not working for http(port80)

Open aidinkhosrowshahi opened this issue 8 years ago • 0 comments

I have apache with myfixip enable, I enabled proxy for ports 443 and 80 on ELB, when I open https website thorough ELB, it is working but not able to reach http(port80 website) and then if I remove ip RewriteIPAllow 10.0.0.0/8 form myfix.config works oposite ( https not working and http is working)

here is my config:

myfixip.conf: <IfModule mod_myfixip.c> RewriteIPResetHeader off RewriteIPAllow 10.0.0.0/8 (LoadBalancer IP range) </IfModule>

and my website config:

Listen 80 <VirtualHost *:80> <IfModule mod_myfixip.c> RewriteIPResetHeader on </IfModule> </VirtualHost> Listen 443 <VirtualHost *:443> <IfModule mod_myfixip.c> RewriteIPResetHeader on </IfModule> </VirtualHost>

I am trying to open ELB http healthcheck for server-status but myfixip module does not working

here is my goal:

ELB listener 443 for https http ELB health check /server-status.

aidinkhosrowshahi avatar Nov 15 '17 18:11 aidinkhosrowshahi