Chris Davies wrote:

> 
> It's not obvious, but I'm going to guess you have your web server (and
> maybe its log files) on /var and that's what's eating the space.

thats pretty much it, yes.  between logs and site folders /var/www
pretty much became full..... I went to put a sizeable file in one
webservers download directory for a friend to download and thats when I
got the no space message.

I set this all up well over a year ago, and havent messed with it since.
never realized I could move document root outside /var, never even
really thought about it, I thought it would create permission problems.
 well, it did for one of the sites but fixed that already.
> 
> When I configure up apache I tend to set it to use vhosts under
> /home/www. 

same here

So I have /home/www/_default_/ (which is really a placeholder
> for a vhost that does a redirect to http://www.roaima.co.uk/),
> /home/www/www.roaima.co.uk/, /home/www/mail.roaima.co.uk/ and so
> on. Further, within each vhost directory I have docroot and logs.

I put document root in public_html mainly because it was already there,
and copied everything inside /var/www to it.  then changed sites-enabled
and vhost to reflect the new directory, and everything seems to be
working ok.
> 
> Appropriate Docroot and Log entries in /etc/apache/sites-enabled/*
> complete the picture, and it leaves /var/www pretty much untouched. (I
> use Alias directives to link back into /var/www/* as and when necessary.)
> 
> Hope that helps,

yes, big help, thanks, and happy holidays.




-- 
Steve Reilly

http://reillyblog.com




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to