View previous topic :: View next topic |
Author |
Message |
bluesky Apprentice
Joined: 14 Aug 2002 Posts: 230 Location: USA
|
Posted: Fri Nov 22, 2002 6:38 pm Post subject: why not in /usr/local |
|
|
What are the(good) reasons to set the defaults installation for apache in /etc? This will definitely cause problem when you reinstall gentoo.
Why not set it to /usr/local? _________________ bluesky
"free as the wind" |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 22, 2002 7:07 pm Post subject: Re: why not in /usr/local |
|
|
bluesky wrote: | What are the(good) reasons to set the defaults installation for apache in /etc? |
The configuration files are in /etc. The DocumentRoot is in /home/httpd/htdocs, by default, but you can put it where you like. I tend to choose /var/www, because I liked it when Debian changed to that from /home/www-data/wwwdocs. CONFIG_PROTECT protects /etc/, which is nice.
Quote: | This will definitely cause problem when you reinstall gentoo. |
Why?
Quote: | Why not set it to /usr/local? |
Because /usr/local is reserved for locally installed applications, and the base operating system is not supposed to put things in there.
There is a big discussion of a related issue about filesystem layout in /usr/local. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
bluesky Apprentice
Joined: 14 Aug 2002 Posts: 230 Location: USA
|
Posted: Fri Nov 22, 2002 7:42 pm Post subject: re: /usr/local |
|
|
[quoted]
>This will definitely cause problem when you reinstall gentoo.
Why?
[quoted}
Reason is if you have a separate /usr/local partition then it is untouched when you reinstall gentoo.
I thought it is obvious? _________________ bluesky
"free as the wind" |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 22, 2002 7:52 pm Post subject: |
|
|
Are you complaining about the location of the configuration files or the default setting of DocumentRoot? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
bluesky Apprentice
Joined: 14 Aug 2002 Posts: 230 Location: USA
|
Posted: Fri Nov 22, 2002 8:21 pm Post subject: re: /usr/local |
|
|
If the servers are all in a separate partition /usr/local then when we reinstall gentoo, we do not have to reinstall them. _________________ bluesky
"free as the wind" |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Nov 22, 2002 8:48 pm Post subject: |
|
|
rac wrote: | Are you complaining about the location of the configuration files or the default setting of DocumentRoot? |
EDIT: the general /usr/local discussion has gone to /usr/local redux. Followups on that issue to /usr/local, please. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
green_buddy Tux's lil' helper
Joined: 08 Jan 2003 Posts: 115 Location: Bay Area, CA
|
Posted: Fri Jan 17, 2003 6:56 pm Post subject: Re: why not in /usr/local |
|
|
rac wrote: | The DocumentRoot is in /home/httpd/htdocs, by default, but you can put it where you like. I tend to choose /var/www, because I liked it when Debian changed to that from /home/www-data/wwwdocs. |
Is moving htdocs as simple as doing the following:
Code: | mv /httpd <whatever/dir/i/want> |
and then modifying the DocumentRoot setting in /etc/apache/conf/apache.conf to be Code: | DocumentRoot <whatever/dir/i/want> |
Is there a way to do this during the emerge process?
Thanks in advance,
-green |
|
Back to top |
|
|
|