Date: Thu, 6 Dec 2001 23:02:06 -0500 From: "brain_damaged" <brain_damaged@florida-wireless.com> To: "Richard Drinkwater" <r.drinkwater@ntlworld.com> Cc: "freebsd-questions" <freebsd-questions@freebsd.org> Subject: Re: moving files for web Message-ID: <200112062302.AA3269787774@florida-wireless.com>
next in thread | raw e-mail | index | archive | help
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" <brain_damaged@florida-wireless.com> >To: <freebsd-questions@FreeBSD.ORG> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112062302.AA3269787774>