View previous topic :: View next topic |
Author |
Message |
teknik0s n00b


Joined: 26 May 2003 Posts: 72 Location: Texas
|
Posted: Mon Sep 01, 2003 10:33 pm Post subject: apache config default directory??? |
|
|
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 |
|
 |
think4urs11 Bodhisattva


Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Mon Sep 01, 2003 11:01 pm Post subject: |
|
|
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 |
|
 |
Carlo Developer


Joined: 12 Aug 2002 Posts: 3356
|
|
Back to top |
|
 |
|