On Wed, 13 Sep 2000, Jake McHenry wrote:

> 
> I have been configuring my new box and have been having some problems. Where
> are the files that are called when linux boots? I know about the rc.d directory
> and how that works, but I've looked all over for where the line
> "/etc/httpd" is in the init files. I am moving all web stuff into /home/web and
> when I do this, Linux still looks for the files in /etc/httpd.
> 
> I have to be missing something somewhere, but WHAT?
> 
> Thanks,
> Jake

        When linux boots, it uses /etc/inittab to control the
process.  For example, the line "l5:5:wait:/etc/rc.d/rc 5" causes the
computer to run the scripts in /etc/rc.d/rc5.d, one of which should
be S85httpd, which should be a symbolic link to /etc/rc.d/init.d/httpd.
When httpd is run in start mode (the "S" in S85httpd), it uses, I think,
files in /etc/httpd/conf to define configuration paramaters.  For example,
in /etc/httpd/conf/httpd.conf is the line, which you may want to change, 

<Directory "/home/httpd/html">

These /etc/httpd files are just configuration files, not the data you
want to put on the web; so I don't see any reason for you to move them.  
But "man httpd" does give options, among which should be one or more you
can use to change where the httpd daemon looks for configuration
parameters.  IF you decide to set these options, I guess it would be done
in the line of /etc/rc.d/init.d/httpd that says "daemon httpd".



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to