From owner-freebsd-questions Thu Dec 6 19:59:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from florida-wireless.com (mailserver.florida-wireless.com [208.62.145.34]) by hub.freebsd.org (Postfix) with ESMTP id A7B2837B416 for ; Thu, 6 Dec 2001 19:59:33 -0800 (PST) Date: Thu, 6 Dec 2001 23:02:06 -0500 Message-Id: <200112062302.AA3269787774@florida-wireless.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "brain_damaged" Reply-To: To: "Richard Drinkwater" Cc: "freebsd-questions" Subject: Re: moving files for web X-Mailer: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG No what I want to do is move the entire directory(ies) to a different partion. Not the virtuals or setup virtuals. i want to store the http data on the /home/whatever not on /usr/local/www/htdocs. While I am not a unix guru I assume there is more than just moving the files over to it and changing the httpd web root in httpd.conf or am I wrong and thats all I would have to do ? And how do I move and maintain the permissions chmods etc ? also if a program wants its data in a certain place say /usr/local/whatever how can i make it so that its ACTUALLY keep on /home/whatever and think its in /usr/local/whatever. thanks >Hi, > >This list is probably not the place for this question - I think they have >some lists over at apache.org. > >Anyway, the best way to do this is probably Virtual Hosts. Try this >http://httpd.apache.org/docs/vhosts/index.html. It allows you to have each >DND name for a box point to a different DocumentRoot, cgi-bin etc. > >Basically you add a few lines for each name to the httpd.conf, and make sure >that there is an /etc/hosts or DNS entry for that name. > >Richard >----- Original Message ----- >From: "brain_damaged" >To: >Sent: Thursday, December 06, 2001 10:05 PM >Subject: moving files for web > > >> Hello, >> I am running 4.3 with apache and mysql. I have others on there now called >postnuke and phpgroupware that i have been "playing" with. >> I installed everything as defaulted. I made >> /usr/local/www/htdocs the web root. >> I have a /home that is 12gigs and that is were I want to move it all. But >i am not sure how. or if i can. >> right now my setup is >> /usr/local/www/htdocs/phpgroupware >> /postnuke >> etc >> I would like to move it all to the /home which is the entire 12 gig drive. >> I would like to move the cgi-bin also. >> >> Can I and if so were do I look for newbie howto. ? >> >> thanks >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message >> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message