httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sakthi Esakiappan <sakthi.esakiap...@mercuryminds.com>
Subject Re: [users@httpd] Re: Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration
Date Tue, 04 May 2010 04:42:37 GMT
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@gmail.com> 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@boeing.com>  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@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
> ---------------------------------------------------------------------
> 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
>
>


-- 
With Regards,
Sakthi Esakiappan.M
Server Administrator

MercuryMinds Technologies Pvt Ltd
www.mercuryminds.com "An E-Commerce mentor"
+91 44 45588587
sakthi.esakiappan@mercuryminds.com
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.

Mime
View raw message