You are not logged in.
Pages: 1
I've made a server with apache, ssl, mysql and php
the apache user = www
www is in the same group as httpd
the website is in /home/httpd/html
When the www/httpd user makes a directory in that folder the contents can be read. When root makes a folder it can't (so far so good)
root downloads the website and puts it in the right place
root does a
chown -R httpd /home/httpd
chgrp - R httpd /home/httpd
Now when I check the properties of a direcotry within /home/httpd (let's take /html) mc says that the user httpd of the group httpd is the owner
but ... here it comes
When someone tries to connect to the server it returns a 403 forbidden.
So I did it all again, I downloaded the website from a windows based ftp while logged in as the httpd user. but the problem stays, I have to make the directory's myself, downloading the directoriy's says that the directory is owned by httpd, but the 403 stays
problem is that there are like ~ 1000 subdirectory's and I don't want to make all the ~ 1000 directory's myself
Am I missing a step? I guess so, can someone help me out?
p.s. please don't mind my bad english, I'm terrible in all langueges, even my native one
apt-get install arch
Offline
nobody?
so this isn't a simple question after all huh
apt-get install arch
Offline
catch me online, I'll try to help you out
-Faust
Offline
Think I know the answer, but I can't check it now
I guess that my direcory's are non-executable a.t.m.
A root user can access a non-executable directory but a non-root user can't.
apt-get install arch
Offline
did you set /home/httpd as the document root in httpd.conf?
Offline
of course.
The "make directories executable" trick did the work
apt-get install arch
Offline
Pages: 1