[H-GEN] giving apache write permissions on a directory

Greg Fairbrother greg at greg.hm
Tue May 13 17:57:10 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Hi,

I am playing with php's file upload functions and all works fine except if I
try to copy the file into the document root of the particular domain.  I
give a permission denied message.

I know this is because the web server (apache) does not have permission to
write to the directory "../images/uploads/"

I could just change the permissions on the directory but that seems very
dangerous to me... how can I give apache permission to write to the folder
without compromising security?

TIA

Greg


_______________________________________
Greg Fairbrother          www.aus-e.com
                          Web Hosting

Email: greg at aus-e.com
Phone: 07 33 711 309
Mobile: 0421 006618


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list