View previous topic :: View next topic |
Author |
Message |
cgmd Veteran


Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sat Apr 25, 2009 2:44 pm Post subject: [Solved] How to handle apache webroot message? |
|
|
Hi, All...
When apache upgrades, I receive the following message concerning webroot: Code: |
The default webroot has not been installed into │
│/var/www/localhost because the directory already exists │
│and we do not want to overwrite any files you have put there. │
│ │
│If you would like to install the latest webroot, please run │
│emerge --config =apache-2.2.11 |
What does this mean?
Should I take action, or can I ignore it?
I don't understand the intent of this message...
Would someone please explain it?
Thanks! _________________ "Primum non nocere" ---Galen
Last edited by cgmd on Sat Apr 25, 2009 8:50 pm; edited 2 times in total |
|
Back to top |
|
 |
richard.scott Veteran

Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Sat Apr 25, 2009 3:15 pm Post subject: |
|
|
Hi,
This message is telling you that the directory /var/www/localhost was already there when you updated apache. The emerge process didn't want to update any files in that directory incase you'd put your own files in there i.e. your own website code?
If you have never used /var/www/localhost for hosting your own web pages then your safe to run the command suggested.
Rich |
|
Back to top |
|
 |
cgmd Veteran


Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sat Apr 25, 2009 3:56 pm Post subject: |
|
|
richard.scott wrote: | Hi,
This message is telling you that the directory /var/www/localhost was already there when you updated apache. The emerge process didn't want to update any files in that directory incase you'd put your own files in there i.e. your own website code?
If you have never used /var/www/localhost for hosting your own web pages then your safe to run the command suggested.
Rich |
Thanks, Rich...
Does this include one directory deeper? For example, if my website is housed in /var/www/localhost/htdocs/ should I still avoid the suggested command?
Thanks, again! _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
 |
Mad Merlin Veteran

Joined: 09 May 2005 Posts: 1155
|
Posted: Sat Apr 25, 2009 7:09 pm Post subject: |
|
|
cgmd wrote: | richard.scott wrote: | Hi,
This message is telling you that the directory /var/www/localhost was already there when you updated apache. The emerge process didn't want to update any files in that directory incase you'd put your own files in there i.e. your own website code?
If you have never used /var/www/localhost for hosting your own web pages then your safe to run the command suggested.
Rich |
Thanks, Rich...
Does this include one directory deeper? For example, if my website is housed in /var/www/localhost/htdocs/ should I still avoid the suggested command?
Thanks, again! |
Yes. _________________ Game! - Where the stick is mightier than the sword! |
|
Back to top |
|
 |
richard.scott Veteran

Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Sat Apr 25, 2009 7:25 pm Post subject: |
|
|
yep, Mad Merlin is correct. don't run the command.
It will over write files in htdocs too. |
|
Back to top |
|
 |
cgmd Veteran


Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sat Apr 25, 2009 8:04 pm Post subject: |
|
|
Thanks for the advice, guys! _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
 |
|