Score:0

Test for no 404 error before enabling RedirectMatch?

jp flag

I have a RedirectMatch to a remote server in my Apache httpd.conf file. However, sometimes the remote server gives a 404 HTTP response. Is there a way for the Apache server to ping the remote server first and, if it doesn't give a 404 response, only then enable the RedirectMatch, such as by wrapping some kind of <If> statement around the RedirectMatch?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.