Jump to content


Photo

Given write previleges to a folder using apache as a webserv


  • Please log in to reply
2 replies to this topic

#1 necroshine

necroshine
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 02 April 2003 - 12:09 PM

I have a script writen in php where a user can upload a file to a folder in the server. With IIS I only have to give write previleges do the IUSR_SERVERNAME acount but with apache I have to give to everyone, but I don\'t want that. Is there another way?

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 04 April 2003 - 04:18 AM

what user/group is apache ran as? and what user/group owns the apache htdocs sub folder?
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#3 necroshine

necroshine
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 04 April 2003 - 09:08 AM

Thank you but I already solved the problem :)

I\'ve created a user to run the apache service and gave it full previleges over the folder.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users