House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Linux (CF-Linux)

ColdFusion /Apache Configuration Question

Author:
Barney Boisvert
05/09/2011 12:14 PM

Not only does /home/frank/www need to be readable by apache, all parent directories need to be as well.  So what you have is a rather insecure setup, because the server daemon has access to your home directory.  More preferable would be to have a directory dedicated to webapps (on RedHat and derivatives that's /var/www) which is owned by your web server user (apache) and isolated from any individual user account. As you have it right now, the CF installer should be givien 'apache' for the group to run as.  Also, CF needs write access to various things within it's webroot, so you'll need to grant it that access.  I don't have an exhaustive list, but at the very least /WEB-INF/cfclasses and /WEB-INF/cfusion/lib/ which house compiled CF templates and the administrator settings respectively.  There are some more folders related to CFFORM and other stuff as well. cheers, barneyb > > Hello - I am new to linux configuration: > > I am trying to install CF8 on linux but am somewhat confused about permissions. > > I am running apache under user "apache", group "apache". > > My web root is /home/frank/www > All files within that are 644, all directories are 755. > All www files are owned by "frank", group "apache" > > As I understand it, this is a good secure setup, which allows apache to read files but not write to these directories.  So far so good, I think. > > Now, I am installing coldfusion.  When the CF installer asks for the runtime user, what do I use?  apache?  frank?  some other user?    I have access to root, so changing permissions is easy.  I just want to have a good, secure setup, and I need apache running under "apache" to play nicely with CF. > > Thanks for responses > > > >


Search cf-linux

May 21, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference