few questions about httpd

Discussion in 'HOWTO-Related Questions' started by xudonglu, Jun 19, 2009.

  1. xudonglu

    xudonglu New Member

    Hi All,
    I am runnig apache on centos5 with few name based VHOSTs. I have few question as below. If anyone can help me with it, I would be greatly appreciative


    Dose apache allow to restart/shut down/reload individual VHOST without interrupt others? if so, how to do that?

    is there any way i can possibly find out how many vhosts is runig at the same time?

    Thank you all in advance
    :confused:
     
  2. id10t

    id10t Member

    No, they are all served up by the same instance of Apache.

    To find them all, you can grep your config file(s) for ServerName
     
  3. xudonglu

    xudonglu New Member

    Hello,,thank you for your reply.
    however, it is not the solution that I am looking for. I need to check vhost details via running background and dump into a plain text and manupliate them afterwards for certain purposes rather than go straight in the config file.

    But thank you any way!! :->
     
  4. falko

    falko Super Moderator Howtoforge Staff

    No, that's not possible. However, in most cases, an Apache reload (instead of a restart) is enough, and a reload doesn't interrupt the service.
     
  5. xudonglu

    xudonglu New Member

    Hello - Found the solution

    Hello Guys,

    Thank you all very much for your suggestion.

    I've found the solution :)

    /usr/sbin/httpd -S


    Cheers
     

Share This Page