Find the answer to your Linux question:
Results 1 to 4 of 4
In history I used apache 1.3 with an oder SUSE distribution. There I have several httpd processes start for various ports. This allow to enable/disable some http ports without affecting ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Posts
    3

    Apache 2.0


    In history I used apache 1.3 with an oder SUSE distribution.
    There I have several httpd processes start for various ports.
    This allow to enable/disable some http ports without affecting the others.
    (I use https, virtual hosts of course there cannot be two httpd processes for the same port)

    Now with the apache 2.0 od SUSE 9.1 it seems, that I cannot start more than one httpd process even when they use different ports.
    All I get is the message: "httpd alread running" and the PID of it.

    Is there a way to have several ports be dealed independently with apache 2.0?
    Of course one httpd daemon is able to provide all ports, but I want to reconfigure e.g. one port (restartng httpd for ist) without affection other https ports.
    In other words. When I restart httpd (which takes just seconds I know) to make some change (e.g. disbale a port or enable a new one)
    I assume that all sessions to all httpd ports are closed.
    For me this means that actual users on other ports which I do not want to touch are kicked out, too. And I don't want this.

    The benefit of my historc method to run several httpd processes was, that if one process will hang, the other ports served by other httpd processes are not affected. This is a kind of redundency.

    So is there a way to start apache 2.0 several times for different ports or is there a method to enable/add or disable one specific https port without affecting the other ones?

    Any comments are welcome
    Thank you

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    how bout make your changes and then do the restart at night when probably no one will get kicked off

  3. #3
    Just Joined!
    Join Date
    Oct 2004
    Posts
    3
    Thank you for your tip.
    This is just a partial workaround.
    Some changes shoud be done immediately and this solve not the point of redundancy and independency of different ports.
    By the way: What happens with open browser windows/sessions when the webserver is restarted? (I sould make this experiment....)

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    the big issue is that your probably running httpd from xintd or inid, they are what will not let you start more than one (most likely, ive never tried) but its not really an issue, Virtual Hosting will let you serve apache on multiple ports, but in the time it takes httpd to restart, most client wont even have resend the request data, only very basic clients (like telnet) would notice, unless someone was activly downloading a page, but even then, it would regester as a timeout and the browser would re-request the data, and your server would probably be back up by that point. partialy dependent on the speed of your machine, but its not going to be a major problem in the second that you reboot the process unless your handling like 20-30 outgoing at a time.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •