Date: Wed, 30 Dec 1998 01:51:14 +0400 From: Casper <casper@acc.am> To: Jim Mock <jim@corp.au.triax.com> Cc: Marc Andre Paquin <map@interresa.ca>, freebsd-questions@FreeBSD.ORG Subject: Re: Multi-user web file structure on FreeBSD Message-ID: <36894ED2.D29DD101@acc.am> References: <Pine.BSF.4.05.9812300818540.242-100000@corp.au.triax.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for correction , but sometimes it's not good idea to allow users run thier own cgi scripts [...skip...] > > <VirtualHost www.bob.com> > ServerAdmin bob@bob.com > DocumentRoot /usr/home/bob/public_html-www.bob.com > ServerName www.bob.com > ErrorLog /usr/weblogs/www.bob.com-error_log > TransferLog /usr/weblogs/www.bob.com-access_log > ScriptAlias /cgi-bin/ /usr/home/bob/public_html-www.bob.com/cgi-bin/ ^^^^^^^ you can remove this line by security reasons > </VirtualHost> > [...skip...] Users must set files in their public_html-www.somewhere.net directories word readable , or you have to create separate group of users , and set apache to run under that group_ID - EffectiveGroup option or somethink like this in http.conf It's good idea to create separate user for apache .... Of course , much more info can give you Manual and FAQ on the www.apache.org 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?36894ED2.D29DD101>