Apache2 and virtual hosts

Stephen stephen-d-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Tue Jul 17 17:31:54 UTC 2007


Madison Kelly <linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org> wrote:  I am writing a management console for our customers who host with us, 
and I would like to allow them to edit their own VH container file. I 
worry though that a user will make a mistake and take the whole web 
server down.

Is there a way anyone knows up that I can tell Apache to disregard a 
misconfigured VH container (possibly send an alert) and continue loading 
the rest of the virtual hosts?

  Even if you do get the control over Apache that you would like, you should still be doing bulletproof validation to your customer's form data. First make sure the data is in a form that you expect.
   
  Then, you don't want them touching the document root, and really just want to let them specify some file names. Or am I missing something?
   
  Before writing the file, check existence, permissions, etc. Your users will prefer an error message to a performance failure.
   
  Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20070717/7a940141/attachment.html>


More information about the Legacy mailing list