[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Users deleting public_html and log causing Apache to fail startup



You can make 3 predefined directories for each customer that they can't
delete.  One htdocs, logs, and "stuff" or something, for them to put all the
non web accessible stuff in.

Another thing you can do is create a wrapper script for the Apache startup
that checks for the existence of all the essential directories and creates
them if missing.

At 11:38 AM 7/5/02 +1000, Jason Lim wrote:
>Since client1/site1 is owned by root, and only client1/site1/cgi-bin and
>client1/site1/htdocs are owned by the user, the user could only create
>directories in those 2 directories, and anywhere else they cannot?
>
>If that were true, that wouldn't be an optimal solution, because the
>clients tend to also want to put stuff in directories not accessable by
>the web at all. Sometimes, for example, they mkdir
>client1/site1/creditcarddetails or something like that, so it is outside
>the htdocs directory, but accessable to them via SSH or FTP or something.



--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--

00000100


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: