Apache crashing if user's www directory is deleted

From: PsYxAkIaS (FreeBSD) (freebsd_at_psyxakias.com)
Date: 06/08/03

  • Next message: Antonio Torres: "Re: Apache crashing if user's www directory is deleted"
    To: <freebsd-isp@freebsd.org>
    Date: Sun, 8 Jun 2003 09:32:47 +0300
    
    

    Hello

    I use apache/2.045 and virtual hosts like that:

    <VirtualHost 66.151.30.81>
    ScriptAlias /cgi-bin/ /usr/homeb1/psyxakias/www/cgi-bin/
    ServerName www.psyxakias.org
    ErrorLog /usr/homeb1/psyxakias/www-logs/error.log
    ServerAdmin psyxakias@psyxakias.org
    CustomLog /usr/homeb1/psyxakias/www-logs/custom.log common
    DocumentRoot /usr/homeb1/psyxakias/www
    </VirtualHost>

    If a user removes his www or cgi-bin directory, apache crashes on next rehash/restart because it doesnt find the directory.

    Any solutions? I was thinking to change their permissions with chown/chmod but as they have rwx on their homedir they will still be able to delete the dirs.
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Antonio Torres: "Re: Apache crashing if user's www directory is deleted"