Re: Re: Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

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

 



Hello,

/etc/init.d/httpd is the startup/stop script for http deamon. It can be used to verify the configuration files.

Configuration files can be tested through the following
/usr/sbin/httpd -S
/usr/sbin/apachectl -S

These 2 are the binaries of the web server. I personally recommend you to use apachectl since it has more options that httpd. Try man apachectl for more information. 

On 4 May 2010 01:03, Frank Gingras <francois.gingras@xxxxxxxxx> wrote:
This looks debian-ish. Run apache2ctl -S instead.

Frank.


On 05/03/2010 03:11 PM, Dan Poirier wrote:
On 2010-05-03 at 15:07, "Wang, Mary Y"<mary.y.wang@xxxxxxxxxx>  wrote:

#/etc/init.d/httpd -S
Usage: httpd {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}

It returned that usage comment.  Am I missing something here?

/etc/init.d/httpd is not the apache web server, it's some startup script
provided by your distribution.  You probably want to find and run
"apachectl".


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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




--
With Regards,
Sakthi Esakiappan.M
Server Administrator

MercuryMinds Technologies Pvt Ltd
www.mercuryminds.com "An E-Commerce mentor"
+91 44 45588587
sakthi.esakiappan@xxxxxxxxxxxxxxxx
www.mercuryminds.com

Disclaimer: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you have received this message in error, you are hereby notified that we do not consent to any reading, dissemination, distribution or copying of this message. If you have received this communication in error, please notify the sender immediately and destroy the transmitted information.

[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