which I thought captures all requests, however, entering “/index.php”
for
example, causes the file to be downloaded instead of going to the
“maintenance.htm” file. How can I capture all requests?
–
Ilan B.
Chief Technology Officer
6300 NE 1st Ave., Suite 203
Ft. Lauderdale, FL 33334
(954) 771-0914
Time4Learning.com - Online interactive curriculum for home use, PreK-8th
Grade. Time4Writing.com - Online writing tutorials for high, middle, and
elementary school students. Time4Learning.net - A forum to chat with parents online about kids,
education, parenting and more. spellingcity.com - Online vocabulary and spelling activities for
teachers,
parents and students.
On Sunday 13 November 2011 19:57:53 Ilan B. wrote:
I have this location configuration:
location /
{
This:
index maintenance.htm;
only captures requests to directories (i.e., ends with a /).
This:
error_page 404 = maintenance.htm;
only captures 404 responses.
log_not_found off;
}
which I thought captures all requests, however, entering “/index.php” for
example, causes the file to be downloaded instead of going to the
“maintenance.htm” file. How can I capture all requests?
Time4Learning.com - Online interactive curriculum for home use, PreK-8th
Grade. Time4Writing.com - Online writing tutorials for high, middle, and
elementary school students. Time4Learning.net - A forum to chat with parents online about kids,
education, parenting and more. spellingcity.com - Online vocabulary and spelling activities for
teachers,
parents and students.