Hi Jake,
I'm not an Apache admin or anything but I may be able to help.
If your problem is where Apache is looking for your web files, then the
config file you are looking to change is, depending on apache version,
likely httpd.conf. You will likely find this in the conf directory of your
webserver tree.
My apache was compiled on my box instead of using the RPMs so the
placement of files may be different. Your config file may be in
/etc/apache or similar. My apache tree is /www and my documents are stored
in (for the most part) /www/htdocs. To change this, open httpd.conf in
your editor and look for:
DocumentRoot "/www/htdocs"
...replace the /www/htdocs with your current path. Look for other
incidents of this path and change them too. You may also want to change
paths for logs, etc as well. Restart the server when complete.
You could also just put a symbolic link from one directory to the next,
but if you plan on moving everything you may as well just change your
config to represent the correct directory. That will save headaches in a
crash or should you choose to change dirs again.
For the most part, the /etc/rc.d/init.d/ files determine how to start,
restart and shutdown each system resource, they don't normally contain any
program specific configuration, as is my understanding.
Now I'm not sure if I answered your question. Just in case, I'll hit my
second interpretation :)
If you are trying to move the config files from the default location (with
RPM I believe it's /etc/httpd/conf/ ), then I believe you'd have to obtain
the source and re-compile. Change the --sysconfdir= configuration option
to reflect where you'd want them stored. I'd leave it in /etc/httpd
though, cause most config stuff is stored in /etc.
Rob
On Wed, 13 Sep 2000, you 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
--
We are all born mad. Some remain so.
-- Samuel Beckett
--------------------------------------------------------
This mail proudly composed and transmitted without the
interference of any Micro$oft products or protocols.
--------------------------------------------------------
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list