Processing config directives from the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux