cannot read files in /var/www/html directory

Discussion in 'Installation/Configuration' started by brody182, Oct 31, 2016.

  1. brody182

    brody182 Member

    I need the browser to have access to two files located in /var/www/html /.well-known/acme-challenge/

    however I get a 403 forbidden error

    If I add something like this I get empty.dir file

    <Directory />
    # Options Indexes FollowSymLinks Includes ExecCGI
    # AllowOverride All
    # Require all granted
    # Allow from all
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    So you do have access to the directory, the 403 forbidden is indicating you can't perform directory listings there. Just put the full path to the files you need, make sure the web server has permissions to read them, and you should likely be good.

Share This Page