I have removed the Listen directive from my config and would like to set it from the command line. I assume that is what the -C/c flags are for:

% ./apachectl -C "Listen 8080" -k start

I keep getting dumped in to the -help and syntax page of httpd. It does not seem to like the syntax. When I remove the 8080 (the value part to the Listen directive) I get this:

% ./apachectl -C "Listen" -k start
Syntax error on line 1 of -c/-C directives:
Listen requires 1 or 2 arguments.

I thought simple quotes would work - but it does not seem to. Any suggestions or insight would be appreciated.

Thanks,
M

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to