Ik ga een slotje wagen, maar ik kom er anders ook niet uit
Ik krijg een 403 als ik mijn website probeer te bereiken. Dit zijn mijn instellingen:
- Mijn www root is /home/simon/apache-www/ de eigenaar hiervan is simon:www-data (chown -R simon:www-data /home/simon/apache-www/)
- de groep www-data heeft r en x rechten op /home/simon/apache-www/
chmod -R u+r+w+x,g+r-w+x,o-r-w-x /home/simon/apache-www/
- Apache draait als www-data:www-data dit staat in httpd.conf
#
# If you wish apache to run as a different user or group, you must run
# apacheas root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run apache as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group nobody on these systems!
#
User www-data
Group www-data
En toch heb ik geen toegang. ls -al geeft :
drwxr-sr-x 19 simon www-data 1024 Nov 23 14:09 apache-www
weet iemand wat het probleem is. Ik kom er echt niet meer uit.
Ik krijg een 403 als ik mijn website probeer te bereiken. Dit zijn mijn instellingen:
- Mijn www root is /home/simon/apache-www/ de eigenaar hiervan is simon:www-data (chown -R simon:www-data /home/simon/apache-www/)
- de groep www-data heeft r en x rechten op /home/simon/apache-www/
chmod -R u+r+w+x,g+r-w+x,o-r-w-x /home/simon/apache-www/
- Apache draait als www-data:www-data dit staat in httpd.conf
#
# If you wish apache to run as a different user or group, you must run
# apacheas root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run apache as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group nobody on these systems!
#
User www-data
Group www-data
En toch heb ik geen toegang. ls -al geeft :
drwxr-sr-x 19 simon www-data 1024 Nov 23 14:09 apache-www
weet iemand wat het probleem is. Ik kom er echt niet meer uit.