View Full Version : apache
elf_aka
2008-05-22, 03:27 AM CDT
hi i installed an apache
after i changed DocumentRoot to /home/kiddie/www
and httpd shows follow text
You don't have permission to access /index.php on this server.
thanx for all forehand.... :)
DaveyG
2008-05-22, 03:45 AM CDT
Try adding:
<Directory "/home/kiddie/www">
Order allow,deny
Allow from all
</Directory>
To your apache config file, you should also chmod 775 /home/kiddie/www
chmod 755 /home/kiddie/www
That should sort out the permissions issue :p
elf_aka
2008-05-22, 04:59 AM CDT
it doesn't work...
InfRecursion
2008-05-22, 06:44 AM CDT
chown apache:apache /home/kiddie/www
marcrblevins
2008-05-24, 02:43 AM CDT
Try:
su -
setsebool -P httpd_enable_homedirs on
service httpd restart
marcrblevins
2008-05-24, 02:47 AM CDT
Also need:
su -
cd /home/kiddie/www
chcon -R -t httpd_sys_content_t .
Look at 'man httpd_selinux' for more info.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.