Excerpts from what BAMON_at_OCVAXC.CC.OBERLIN.EDU said:
|
|Sorry to post this to an unrelated list, but you guys are wonderfully
|helpful.
|
|Can I run two httpd servers on different ports, with different
|base directories, from the same Alpha/OSF machine? I'm using
|NCSA httpd and OSF 3.0.
|
|Thanks,
|Jennifer
|_____________________________________________________________________
|Jennifer R. Amon PHONE: (216) 775-6987
|Houck Computing Center FAX: (216) 775-8573
|Oberlin College INTERNET: bamon_at_ocvaxc.cc.oberlin.edu
|Oberlin, OH 44074 Home Page:
http://amon.cc.oberlin.edu/
|_____________________________________________________________________
|
Yes.
Make sure that in your "/etc/services" file you have unique port names.
http 80/tcp # httpd server (World Wide Web tool)
https 81/tcp # httpd 2nd server
httpa 82/tcp # httpd 3rd server
In your "/etc/inetd.conf" file, you specify the different root locations
of each server.
http stream tcp nowait httpu /etc/tcpd httpd
https stream tcp nowait httpu /etc/httpd httpd -d /usr/local/etc/httpds
httpa stream tcp nowait httpu /etc/httpd httpd -d /usr/local/etc/httpda
Dan Winger __ _ * ) * NASA-Goddard Space Flight Center
SEWP BOWL (soop bol) * _ ( \\ * RMS Technologies Inc.
winger_at_sewp.nasa.gov * (_X__//_ * Code 251.9
301.286.7658 * ( ) * Bldg 18 Room 274
FAX 301.286.1619 * \______/ * Greenbelt, MD 20771
Received on Thu May 11 1995 - 09:32:11 NZST