ERROR 403 - Forbidden! every time i delete the default index.html

Discussion in 'Installation/Configuration' started by ranjit, Jun 27, 2016.

  1. ranjit

    ranjit New Member

    When i try to delete the default index.html and load wordpress files on to the /www it shows error 403 - forbidden. i do get the index.htm page but i cannot get the other pages. For testing i have changed all permissions to 777 but its still showing forbidden.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The files have to be in the web folder, not www and the files have to be owned by the web user and client group of this website, the permissions may not be 777 as that's a security violation and might cause the website to fail. If you upload the files with the FTP user of the website, then they have the correct user and group automatically.
     
  3. ranjit

    ranjit New Member

    Hello Tim, i was following the other post about the security violations that i have found on the website but none seem to have fixed my issue so what i had to do was go to the
    /etc/apache2/sites-available/xx.com.vhost and manually change the apache permissions as below
    <Directory /var/www/nvtc.com.na>

    AllowOverride None

    Require all denied

    </Directory>



    <Directory /var/www/evtc.com.na>

    AllowOverride None

    Require all granted

    </Directory>
     

Share This Page