Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] How to handle apache webroot message?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sat Apr 25, 2009 2:44 pm    Post subject: [Solved] How to handle apache webroot message? Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Sat Apr 25, 2009 3:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sat Apr 25, 2009 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1155

PostPosted: Sat Apr 25, 2009 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Sat Apr 25, 2009 7:25 pm    Post subject: Reply with quote

yep, Mad Merlin is correct. don't run the command.

It will over write files in htdocs too.
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sat Apr 25, 2009 8:04 pm    Post subject: Reply with quote

Thanks for the advice, guys!
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum