Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache config default directory???
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
teknik0s
n00b
n00b


Joined: 26 May 2003
Posts: 72
Location: Texas

PostPosted: Mon Sep 01, 2003 10:33 pm    Post subject: apache config default directory??? Reply with quote

i'm using apache.. not sure what version.. probably 1.3 or whatever. I have it configured all nicely but i must have missed something. Because i had my documentroot set to /backup. But .. whenever i emerge anything that takes use of apache, it puts it in /home/httpd/htdocs. For example.. i was trying to emerge phpsysinfo and it put it there^.... then just today i emerged gallery and it put it there also. What do i need to change so that it installs web-based software like that to my documentroot /backup.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Mon Sep 01, 2003 11:01 pm    Post subject: Reply with quote

mhh, might be a hack, but

- move everything from /home/httpd/htdocs to /backup
- replace the /home/httpd/htdocs directory with a symbolic link to /backup.
- leave the default documentroot inside apache.conf

HTH
T.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Mon Sep 01, 2003 11:24 pm    Post subject: Reply with quote

It's caused by hardcoded document root path in some ebuilds.
See :arrow: Apache2 DocumentRoot ignored during subsequent ebuilds?


Carlo
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
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