problem access glpi apache

Issues related to configuring your network
Post Reply
light86
Posts: 72
Joined: 2015/03/29 15:08:36

problem access glpi apache

Post by light86 » 2015/11/19 14:43:11

Hi every one
I have install httpd and i have test it
when I had a folder (glpi) in /var/www/html
I have this message You don't have permission to access /glpi/ on this server.
Please what is the solution
Thank you

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: problem access glpi apache

Post by gerald_clark » 2015/11/19 14:47:02

Make sure the httpd user has read and execute permissions on the directories, and read permissions on the files.
Then run 'restorecon -r /var/www'

light86
Posts: 72
Joined: 2015/03/29 15:08:36

Re: problem access glpi apache

Post by light86 » 2015/11/19 14:58:34

hi thank you for your help
I have disabled selinux
this ls -l of /var/www
drwxrwxrwx 14 root root 4096 19 nov. 15:04 glpi
Cordialement

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: problem access glpi apache

Post by stevemowbray » 2015/11/19 15:09:01

> when I had a folder (glpi) in /var/www/html

> this ls -l of /var/www

/var/www/html/glpi is not /var/www/glpi

You also need to check the web server directives (Allow and Deny) in /etc/httpd/conf/httpd.conf and /etc/httpd/conf.d/*

Post Reply