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
problem access glpi apache
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: problem access glpi apache
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'
Then run 'restorecon -r /var/www'
Re: problem access glpi apache
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
I have disabled selinux
this ls -l of /var/www
drwxrwxrwx 14 root root 4096 19 nov. 15:04 glpi
Cordialement
-
- Posts: 519
- Joined: 2012/06/26 14:20:47
Re: problem access glpi apache
> 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/*
> 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/*