[users@httpd] ProxyPass, root "/" directory and DirectoryIndex

2017-08-30 Thread Gustau Perez
Hi, During the setup of an Apache (2.4.18) proxy pass, I noticed that when requesting the root “/“, Apache assumes that the resource asked is /index.html. In our test environment the machine beg the proxy by default serves index.php I found out the way to change is by tweaking the Direct

Re: [users@httpd] Honouring the DNS ttl in proxy-pass

2017-08-28 Thread Gustau Perez
> > one of the side effects of reusing the backend connections is to force the > Apache child process to cache the DNS resolution for its life (that is until > a main restart happens or when MaxConnectionsPerChild is met), so I am afraid > that if you need something more flexible you'd need

[users@httpd] Honouring the DNS ttl in proxy-pass

2017-08-23 Thread Gustau Perez
Hi, We’re trying to set a bunch of Apaches 2.4.18 to proxy pass the requests it receives to our partner's upstream server. Our partner uses Amazon’s Elastic Load Balancing and thus the only we know about their servers is its DNS names. The TTL of the DNS records is 60 seconds and I’d

[users@httpd] RewriteRule: Pattern matching and grouping part of the URL expands to its local filesystem path

2017-08-22 Thread Gustau Perez
Hello everybody, I’ve checking all kinds of sources of information so far without success, I hope I didn’t miss anything. I have a very simple RewriteRule which should take the requested resource part. What I want to achieve is to prepend an string before that matched path. Something