I have this location configuration:<div><br></div><div><div> location /</div><div> {</div><div> index maintenance.htm;</div><div> error_page 404 = maintenance.htm;</div><div> log_not_found off;</div>
<div> }</div><div><br></div><div>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?</div>
<div><br></div>-- <br><div><br></div><div>Ilan Berkner</div><div>Chief Technology Officer</div><div>Time4Learning.com</div><div><br></div><div>6300 NE 1st Ave., Suite 203</div><div>Ft. Lauderdale, FL 33334</div><div>(954) 771-0914</div>
<div><br></div><div><a href="http://www.twitter.com/time4learning" target="_blank"><img src="http://www.time4learning.com/_img/buttons/addthis/twitter_32.png"></a> <a href="http://www.facebook.com/Time4Learning" target="_blank"><img src="http://www.time4learning.com/_img/buttons/addthis/facebook_32.png"></a> <br>
</div><div><br></div><div><div><a href="http://Time4Learning.com" target="_blank">Time4Learning.com</a> - Online interactive curriculum for home use, PreK-8th Grade.</div><div><a href="http://Time4Writing.com" target="_blank">Time4Writing.com</a> - Online writing tutorials for high, middle, and elementary school students.</div>
<div><a href="http://Time4Learning.net" target="_blank">Time4Learning.net</a> - A forum to chat with parents online about kids, education, parenting and more.</div><div><a href="http://spellingcity.com" target="_blank">spellingcity.com</a> - Online vocabulary and spelling activities for teachers, parents and students.</div>
</div><div><br></div><br>
</div>