Help - Search - Members - Calendar
Full Version: Apache
The Planet Forums > Operating Systems > BSD
talkster5
At the moment I am running apache under /usr/ but there is not enough space under that as most of it is under /home/ so I was wondering if there was any way of making linking apache to use the files in the home directories?
klaude
You made a separate partition for /home? By default home directories are in /usr/home. You can use the ln -s command to symlink things around to your liking.
talkster5
Well they did it all for me and the /usr/ partition is only about 10GB where as the home one is 40GB.
talkster5
How could I make it then so that /usr/local/apache/htdocs/redirects/TAO was linked to /home/TAO ? Then would all the files in TAO show up on the webserver?
klaude
It'll probably be easier to set your DocumentRoot in httpd.conf then. icon_smile.gif
talkster5
QUOTE (klaude)
It'll probably be easier to set your DocumentRoot in httpd.conf then. icon_smile.gif


Ok, thanks I will try that.
facecake
i seem to have this strange strange habbit of making all virtual domains (/usr/)/home/virts/domain/ ...i've no idea where i picked it up ..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.