You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/04/11 00:09:47 UTC

cvs commit: httpd-2.0/docs/manual/mod core.xml

nd          2004/04/10 15:09:47

  Modified:    docs/manual/mod core.xml
  Log:
  add some notes about server admin URLs
  
  Revision  Changes    Path
  1.82      +9 -3      httpd-2.0/docs/manual/mod/core.xml
  
  Index: core.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/core.xml,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -u -r1.81 -r1.82
  --- core.xml	2 Apr 2004 21:00:27 -0000	1.81
  +++ core.xml	10 Apr 2004 22:09:47 -0000	1.82
  @@ -2524,14 +2524,20 @@
   <name>ServerAdmin</name>
   <description>Email address that the server includes in error
   messages sent to the client</description>
  -<syntax>ServerAdmin <var>email-address</var></syntax>
  +<syntax>ServerAdmin <var>email-address</var>|<var>URL</var></syntax>
   <contextlist><context>server config</context><context>virtual host</context>
   </contextlist>
   
   <usage>
  -    <p>The <directive>ServerAdmin</directive> sets the e-mail address
  +    <p>The <directive>ServerAdmin</directive> sets the contact address
       that the server includes in any error messages it returns to the
  -    client.</p>
  +    client. If the httpd doesn't recognize the supplied argument as an URL, it
  +    assumes, that it's an <var>email-address</var> and prepends it with
  +    <code>mailto:</code> in hyperlink targets. However, it's recommended to
  +    actually use an email address, since there are a lot of CGI scripts that
  +    make that assumption. If you want to use an URL, it should point to another
  +    server under your control. Otherwise users may not be able to contact you in
  +    case of errors.</p>
   
       <p>It may be worth setting up a dedicated address for this, e.g.</p>