Apache, FTP and PHP

Discussion in 'HOWTO-Related Questions' started by polestar_del, Sep 19, 2009.

  1. polestar_del

    polestar_del New Member

    Hi All,

    I followed the following tutorial to create a server which can be used to create a virtual server environment.

    http://www.howtoforge.com/virtual-hosting-with-proftpd-and-mysql-debian-lenny

    Now, when the user logs in and puts his PHP files they are given a 403 forbidden error. I know it is related to the permissions on the file/folder and the apache server is running as www-data user, while the files are uploaded by 'ftpuser'

    Any suggestions on how to setup my apache server so that users can run their own php scripts as well as create/edit directories (if their php scripts want to create directories) in their own folders.

    Thanks
     

Share This Page