Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* NCSA Server configuration
@ 1994-09-12 16:30 Mario Kuntz
  1994-09-12 18:09 ` Douglas Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mario Kuntz @ 1994-09-12 16:30 UTC (permalink / raw)


Anybody out there successfully installed a NCSA server on a DEC 3000?

The server is apparently not able to read the "httpd.conf" file because
the path is different than the "default (?)"

I configured the httpd.conf-dist with the correct path and renamed  it 
"httpd.conf", as instructed by the online documentation at 
hoohoo.ncsa.uiuc.edu. However when I try to run the server, this is what 
I get:

http: could not open server config. file /usr/local/etc/httpd/conf/httpd.conf
fopen: no such file or directory....
Of course it could not open it, it's not there!!! It should be looking 
for it at /usr/users/mosaic/httpd_1.3/conf/httpd.conf, (what I instructed 
in httpd.conf).

My question is:
Is the path hardcoded into the program? (it is not reading the config.file!) 
How can I properly configure the path? 

Gratefully,

Mario
mariok@gate.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NCSA Server configuration
  1994-09-12 16:30 NCSA Server configuration Mario Kuntz
@ 1994-09-12 18:09 ` Douglas Jones
  1994-09-12 18:21 ` William George Frank
  1994-09-13  0:17 ` David-Michael Lincke
  2 siblings, 0 replies; 5+ messages in thread
From: Douglas Jones @ 1994-09-12 18:09 UTC (permalink / raw)


In article <351vnt$116j@tequesta.gate.net>,
Mario Kuntz <mariok@gate.net> wrote:
>Anybody out there successfully installed a NCSA server on a DEC 3000?
>
>The server is apparently not able to read the "httpd.conf" file because
>the path is different than the "default (?)"
>
>I configured the httpd.conf-dist with the correct path and renamed  it 
>"httpd.conf", as instructed by the online documentation at 
>hoohoo.ncsa.uiuc.edu. However when I try to run the server, this is what 
>I get:
>
>http: could not open server config. file /usr/local/etc/httpd/conf/httpd.conf
>fopen: no such file or directory....
>Of course it could not open it, it's not there!!! It should be looking 
>for it at /usr/users/mosaic/httpd_1.3/conf/httpd.conf, (what I instructed 
>in httpd.conf).
>
>My question is:
>Is the path hardcoded into the program? (it is not reading the config.file!) 
>How can I properly configure the path? 
>
>Gratefully,
>
>Mario
>mariok@gate.net

Did you update the /etc/services and /etc/inetd.conf files, then kill -1 the
inetd daemon? Here are some samples, based off of your paths and assuming
u are useing inetd instead of standalone.:

/etc/services file should have:

http	80/tcp

/etc/inetd.conf file should have:

http stream tcp nowait nobody /usr/users/mosaic/httpd_1.3/httpd httpd -d /usr/users/mosaic/httpd_1.3 -f /usr/users/mosaic/httpd_1.3/conf/httpd.conf

#ps -e|grep inetd
#some_number
#kill -1 some_number

I got all of this from:

TITLE: Starting NCSA httpd
URL  : http://hoohoo.ncsa.uiuc.edu/docs/setup/StartIt.html

Hope this helps:

Cheers,
Douglas


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NCSA Server configuration
  1994-09-12 16:30 NCSA Server configuration Mario Kuntz
  1994-09-12 18:09 ` Douglas Jones
@ 1994-09-12 18:21 ` William George Frank
  1994-09-12 18:23   ` William George Frank
  1994-09-13  0:17 ` David-Michael Lincke
  2 siblings, 1 reply; 5+ messages in thread
From: William George Frank @ 1994-09-12 18:21 UTC (permalink / raw)


Excerpts from netnews.comp.unix.osf.osf1: 12-Sep-94 NCSA Server
configuration Mario Kuntz@gate.net (852)

> http: could not open server config. file /usr/local/etc/httpd/conf/httpd.conf
> fopen: no such file or directory....
> Of course it could not open it, it's not there!!! It should be looking 
> for it at /usr/users/mosaic/httpd_1.3/conf/httpd.conf, (what I instructed 
> in httpd.conf).

> My question is:
> Is the path hardcoded into the program? (it is not reading the config.file!) 
> How can I properly configure the path? 

You can change the path by entering the directory on the command line:
http -d /usr/users/mosaic/httpd_1.3/conf/httpd.conf

It can't tell where the config file is by reading the config.file
(putting the horse before the cart)!

-will
 Project Mercury


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NCSA Server configuration
  1994-09-12 18:21 ` William George Frank
@ 1994-09-12 18:23   ` William George Frank
  0 siblings, 0 replies; 5+ messages in thread
From: William George Frank @ 1994-09-12 18:23 UTC (permalink / raw)


Excerpts from mail: 12-Sep-94 Re: NCSA Server configuration => O.
News@andrew.cmu (771+0)

> You can change the path by entering the directory on the command line:
> http -d /usr/users/mosaic/httpd_1.3/conf/httpd.conf

I'm sorry, that was incorrect it should be:

http -d /usr/users/mosaic/httpd_1.3

-will
 Project Mercury


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NCSA Server configuration
  1994-09-12 16:30 NCSA Server configuration Mario Kuntz
  1994-09-12 18:09 ` Douglas Jones
  1994-09-12 18:21 ` William George Frank
@ 1994-09-13  0:17 ` David-Michael Lincke
  2 siblings, 0 replies; 5+ messages in thread
From: David-Michael Lincke @ 1994-09-13  0:17 UTC (permalink / raw)


In article <351vnt$116j@tequesta.gate.net>, mariok@gate.net (Mario Kuntz) writes:
> Anybody out there successfully installed a NCSA server on a DEC 3000?
> 
> The server is apparently not able to read the "httpd.conf" file because
> the path is different than the "default (?)"
> 
> I configured the httpd.conf-dist with the correct path and renamed  it 
> "httpd.conf", as instructed by the online documentation at 
> hoohoo.ncsa.uiuc.edu. However when I try to run the server, this is what 
> I get:
> 
> http: could not open server config. file /usr/local/etc/httpd/conf/httpd.conf
> fopen: no such file or directory....
> Of course it could not open it, it's not there!!! It should be looking 
> for it at /usr/users/mosaic/httpd_1.3/conf/httpd.conf, (what I instructed 
> in httpd.conf).
> 
> My question is:
> Is the path hardcoded into the program? (it is not reading the config.file!) 
> How can I properly configure the path? 
> 
> Gratefully,
> 
> Mario
> mariok@gate.net

The path is hard-coded. There's a command line switch for httpd though which 
overrides it. As far as I can remember it's -d <path>.
It's in the documentation at hoohoo.ncsa.uiuc.edu

dave
-- 
David-Michael Lincke, Institute for Information Management at USG
EMail: dlincke@sgcl1.unisg.ch
URL: http://www-iwi.unisg.ch/about/team/dal.html


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-09-13  0:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-12 16:30 NCSA Server configuration Mario Kuntz
1994-09-12 18:09 ` Douglas Jones
1994-09-12 18:21 ` William George Frank
1994-09-12 18:23   ` William George Frank
1994-09-13  0:17 ` David-Michael Lincke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox