Why is data linked to data-dist

2004-10-05 Thread LB
Greetings,
I have a general question that I hope someone can help me with. I was 
wondering why the powers that be have chosen to link /usr/local/www/data
to /usr/local/www/data-dist instead of just creating 
/usr/local/www/data-dist directly. Can anybody help me with the idea behind 
this ?

Thanks,
LB
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why is data linked to data-dist

2004-10-05 Thread Bill Moran
LB [EMAIL PROTECTED] wrote:

 Greetings,
 
 I have a general question that I hope someone can help me with. I was 
 wondering why the powers that be have chosen to link /usr/local/www/data
 to /usr/local/www/data-dist instead of just creating 
 /usr/local/www/data-dist directly. Can anybody help me with the idea behind 
 this ?

This reduces the possibility of people losing their data during an upgrade.

If you portupgrade (or use any other system) to upgrade to a newer version
of Apache, data-dist will be overwritten with the new documentation that
comes with the new version of Apache.  data will not be touched.

As a result, if you left data as a symlink to data-dist, it still works
and shows you the most updated documentation.  However, if relink data
to a different directory, or replace the symlink with a real directory
with your site in it, the upgrade doesn't obliterate your data.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why is data linked to data-dist

2004-10-05 Thread l0rd
LB [EMAIL PROTECTED] wrote:


 Greetings,

 I have a general question that I hope someone can help me with. I was
 wondering why the powers that be have chosen to link /usr/local/www/data
 to /usr/local/www/data-dist instead of just creating
 /usr/local/www/data-dist directly. Can anybody help me with the idea behind
 this ?


This reduces the possibility of people losing their data during an upgrade.


If you portupgrade (or use any other system) to upgrade to a newer version
of Apache, data-dist will be overwritten with the new documentation that
comes with the new version of Apache.  data will not be touched.


As a result, if you left data as a symlink to data-dist, it still works
and shows you the most updated documentation.  However, if relink data
to a different directory, or replace the symlink with a real directory
with your site in it, the upgrade doesn't obliterate your data.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why is data linked to data-dist

2004-10-05 Thread l0rd
At 20:47 5-10-2004, you wrote:

LB [EMAIL PROTECTED] wrote:


 Greetings,

 I have a general question that I hope someone can help me with. I was
 wondering why the powers that be have chosen to link /usr/local/www/data
 to /usr/local/www/data-dist instead of just creating
 /usr/local/www/data-dist directly. Can anybody help me with the idea behind
 this ?



Sorry about the double post. I resent wrong email. My bad

But what I was supposed to post:

Sounds like a good idea. So deleting the symlink and creating a real data
directory would mean I have to physically copy any new version of web apps
installed by ports if they're upgraded by portupgrade ?

LB
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why is data linked to data-dist

2004-10-05 Thread Bill Moran
[EMAIL PROTECTED] wrote:
 At 20:47 5-10-2004, you wrote:
 
 LB [EMAIL PROTECTED] wrote:
 
  Greetings,
 
  I have a general question that I hope someone can help me with. I was
  wondering why the powers that be have chosen to link /usr/local/www/data
  to /usr/local/www/data-dist instead of just creating
  /usr/local/www/data-dist directly. Can anybody help me with the idea behind
  this ?
 
 Sorry about the double post. I resent wrong email. My bad
 
 But what I was supposed to post:
 
 Sounds like a good idea. So deleting the symlink and creating a real data
 directory would mean I have to physically copy any new version of web apps
 installed by ports if they're upgraded by portupgrade ?

Not if they're well done ports.

Most web apps, when installed from the ports, do not install in that data
directory.  Instead, they are installed in /usr/local/www/webapp-name,
and the necessary configurations are put in place to make them accessible.
(usually Apache-based symlinks ... I forget what the directive in Apache
is called).

Anyway, this protects the data you generate in the same way.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]