Wang, Mary Y | 3 May 2010 19:57
Picon
Favicon

Virtual Hosts Problem - option '-S' to verify your virtual host configuration

Hi,

I'm having some virtual hosts configuration problems. In the httpd.conf, it says "You may use the command
line option '-S' to verify your virtual host
configuration" .  What command do I use with this option '-S' to debug?

Any ideas.

Thanks in advance.
Mary

---------------------------------------------------------------------
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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Frank Gingras | 3 May 2010 20:09
Picon

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

httpd -S

Frank.

On 03/05/2010 1:57 PM, Wang, Mary Y wrote:
> Hi,
>
> I'm having some virtual hosts configuration problems. In the httpd.conf, it says "You may use the command
line option '-S' to verify your virtual host
> configuration" .  What command do I use with this option '-S' to debug?
>
> Any ideas.
>
> Thanks in advance.
> Mary
>
>
>
>
> ---------------------------------------------------------------------
> 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 <at> httpd.apache.org
>     "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
> For additional commands, e-mail: users-help <at> httpd.apache.org
>
>    

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
(Continue reading)

Wang, Mary Y | 3 May 2010 21:07
Picon
Favicon

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

#/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?

Thanks in advance.

Mary

-----Original Message-----
From: Frank Gingras [mailto:francois.gingras <at> gmail.com] 
Sent: Monday, May 03, 2010 11:09 AM
To: users <at> httpd.apache.org
Subject: Re: [users <at> httpd] Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

httpd -S

Frank.

On 03/05/2010 1:57 PM, Wang, Mary Y wrote:
> Hi,
>
> I'm having some virtual hosts configuration problems. In the 
> httpd.conf, it says "You may use the command line option '-S' to verify your virtual host configuration" . 
What command do I use with this option '-S' to debug?
>
> Any ideas.
>
> Thanks in advance.
> Mary
(Continue reading)

Dan Poirier | 3 May 2010 21:11
Picon
Favicon
Gravatar

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

On 2010-05-03 at 15:07, "Wang, Mary Y" <mary.y.wang <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Frank Gingras | 3 May 2010 21:33
Picon

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

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 <at> 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 <at> httpd.apache.org
>     "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
> For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
(Continue reading)

Sakthi Esakiappan | 4 May 2010 06:42
Favicon

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

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 <at> 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 <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
 "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> 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.
John Doe | 4 May 2010 10:10
Picon
Favicon

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

From: "Wang, Mary Y" <mary.y.wang <at> boeing.com>
> #/etc/init.d/httpd -S
> It returned that usage comment.  Am I missing something here?

You are confusing the init script with the executable...

JD

---------------------------------------------------------------------
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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Wang, Mary Y | 5 May 2010 02:07
Picon
Favicon

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

Thanks for those who responded to my question.
I was able to get the information by using
/usr/sbin/http -S    and
apachectl -S

BTW - I noticed that when I post a real short question, I receive more responses ;-).

Mary 

-----Original Message-----
From: Wang, Mary Y 
Sent: Monday, May 03, 2010 12:07 PM
To: users <at> httpd.apache.org
Subject: RE: [users <at> httpd] Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

#/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?

Thanks in advance.

Mary

-----Original Message-----
From: Frank Gingras [mailto:francois.gingras <at> gmail.com]
Sent: Monday, May 03, 2010 11:09 AM
To: users <at> httpd.apache.org
Subject: Re: [users <at> httpd] Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

httpd -S

Frank.

On 03/05/2010 1:57 PM, Wang, Mary Y wrote:
> Hi,
>
> I'm having some virtual hosts configuration problems. In the 
> httpd.conf, it says "You may use the command line option '-S' to verify your virtual host configuration" . 
What command do I use with this option '-S' to debug?
>
> Any ideas.
>
> Thanks in advance.
> Mary
>
>
>
>
> ---------------------------------------------------------------------
> 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 <at> httpd.apache.org
>     "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
> For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Wang, Mary Y | 5 May 2010 02:12
Picon
Favicon

RE: Virtual Hosts Problem - option '-S' to verifyyourvirtual host configuration

Oops.
That was 
/usr/sbin/httpd -S     and 
apachectl -S
.
.
. 

Mary

-----Original Message-----
From: Wang, Mary Y 
Sent: Tuesday, May 04, 2010 5:07 PM
To: users <at> httpd.apache.org
Subject: RE: [users <at> httpd] Virtual Hosts Problem - option '-S' to verifyyourvirtual host configuration

Thanks for those who responded to my question.
I was able to get the information by using
/usr/sbin/http -S    and
apachectl -S

BTW - I noticed that when I post a real short question, I receive more responses ;-).

Mary 

-----Original Message-----
From: Wang, Mary Y
Sent: Monday, May 03, 2010 12:07 PM
To: users <at> httpd.apache.org
Subject: RE: [users <at> httpd] Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

#/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?

Thanks in advance.

Mary

-----Original Message-----
From: Frank Gingras [mailto:francois.gingras <at> gmail.com]
Sent: Monday, May 03, 2010 11:09 AM
To: users <at> httpd.apache.org
Subject: Re: [users <at> httpd] Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

httpd -S

Frank.

On 03/05/2010 1:57 PM, Wang, Mary Y wrote:
> Hi,
>
> I'm having some virtual hosts configuration problems. In the 
> httpd.conf, it says "You may use the command line option '-S' to verify your virtual host configuration" . 
What command do I use with this option '-S' to debug?
>
> Any ideas.
>
> Thanks in advance.
> Mary
>
>
>
>
> ---------------------------------------------------------------------
> 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 <at> httpd.apache.org
>     "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
> For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Igor Cicimov | 5 May 2010 02:22
Picon

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

./httpd -t

to check the syntax of the apache config.

On Wed, May 5, 2010 at 10:12 AM, Wang, Mary Y <mary.y.wang <at> boeing.com> wrote:
Oops.
That was
/usr/sbin/httpd -S     and
apachectl -S
.
.
.

Mary

-----Original Message-----
From: Wang, Mary Y
Sent: Tuesday, May 04, 2010 5:07 PM
To: users <at> httpd.apache.org
Subject: RE: [users <at> httpd] Virtual Hosts Problem - option '-S' to verifyyourvirtual host configuration

Thanks for those who responded to my question.
I was able to get the information by using
/usr/sbin/http -S    and
apachectl -S

BTW - I noticed that when I post a real short question, I receive more responses ;-).

Mary


-----Original Message-----
From: Wang, Mary Y
Sent: Monday, May 03, 2010 12:07 PM
To: users <at> httpd.apache.org
Subject: RE: [users <at> httpd] Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

#/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?

Thanks in advance.

Mary

-----Original Message-----
From: Frank Gingras [mailto:francois.gingras <at> gmail.com]
Sent: Monday, May 03, 2010 11:09 AM
To: users <at> httpd.apache.org
Subject: Re: [users <at> httpd] Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

httpd -S

Frank.

On 03/05/2010 1:57 PM, Wang, Mary Y wrote:
> Hi,
>
> I'm having some virtual hosts configuration problems. In the
> httpd.conf, it says "You may use the command line option '-S' to verify your virtual host configuration" .  What command do I use with this option '-S' to debug?
>
> Any ideas.
>
> Thanks in advance.
> Mary
>
>
>
>
> ---------------------------------------------------------------------
> 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 <at> httpd.apache.org
>     "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
> For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
  "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
  "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
  "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> 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 <at> httpd.apache.org
  "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org



Gmane