You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Victor B. Gonzalez" <ap...@vbgunz.com> on 2005/02/02 14:30:45 UTC

[users@httpd] How to comment directly after a directive and command?

Spam detection software, running on the system "kinsei.thewillards.local", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
postmaster@thewillards.co.uk for details.

Content preview:  Hello Apache, I need to make a comment directly
  following ServerRoot "C:/Apache" #ServerRoot I thought # would comment
  itself out and in my editor it looks like it did. Yet when I try to
  start Apache It sees the above as an error. Is there anyway to comment
  directly following a command like above? [...] 

Content analysis details:   (2.4 points, 1.9 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 0.1 FORGED_RCVD_HELO       Received: contains a forged HELO
 1.2 LOCAL_HTTP             BODY: Has web link
 1.2 PRIORITY_NO_NAME       Message has priority, but no X-Mailer/User-Agent



Re: [users@httpd] How to comment directly after a directive and command?

Posted by "Victor B. Gonzalez" <ap...@vbgunz.com>.
Hello Victor,

Wednesday, February 2, 2005, 8:30:45 AM, you wrote:
VBG> Hello Apache,

VBG>   I need to make a comment directly following
VBG>   ServerRoot "C:/Apache" #ServerRoot

VBG>   I thought # would comment itself out and in my editor it looks like
VBG>   it did. Yet when I try to start Apache It sees the above as an
VBG>   error. Is there anyway to comment directly following a command like
VBG>   above?

VBG>   The comment cannot go above or beneath the command. It must follow.
VBG>   Thank you very much for your time.



  Sorry I found it. Comments may not be included on a line after a
  configuration directive. Blank lines and white space occurring
  before a directive are ignored, so you may indent directives for
  clarity.

  Wow, My editor needs an update :(

-- 
Best regards,
 Victor B. Gonzalez                          

apache_2.0.48-win32-x86-no_src
Windows XP 5.1 Build 2600 Service Pack 2


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org