Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Apache Server Responses  RSS feed

Patsy Morrow
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a little help! When my web service is down for maintenance, since Apache is will still be up and running, I would like for Apache to server an xml file with the appropriate message depending on what request was made by the client. I have a few operations available, makePayment, calculateFee, etc.

Is it possible to have Apache determine what type of operation request is made for example if I have an xml error page for each process; how will Apache know which xml file to serve based on the operation request from the client

To make it more clear:
What is the best practice for modifying apache to know what request is being made in order to serve the appropriate xml file?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!