php - Apache website permissions under Centos 7 -


  1. i have site in dir /home/nbo/mysitea. (nbo user)
  2. i've create new dir structure /var/www/mysiteb/public_html
  3. public_html symlink /home/nbo/mysitea
  4. httpd.conf settings:

    listen 82 <virtualhost *:82>   servername mysite.com    documentroot /var/www/mysiteb/public_html/   directoryindex index.php    <directory "/var/www/mysiteb/public_html/">     options +followsymlinks -symlinksifonwermatch     require granted     allowoverride  </directory>  </virtualhost> 

when test website 403 error (forbidden don't have permission access /index.php on server.)

  • i've tried add nbo user apache group.
  • i've tried change ownership of entire site apache user.

what i'm missing?


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -