Forbidden: You don't have permission to access / on this server.

Reported by: Joey
Created: 4 months 10 days ago
Last reply: 4 months 7 days ago
Views: 1178

Forbidden: You don't have permission to access / on this server.

I'm getting this error after installation, there is a index.html file in the webroot, and "DirectoryIndex index.html" has been added to .htaccess

I fixed this issue. But now Ihave the problem that TinyCP doesnt create the ACME challenge files/folders. 

Hi.

TinyCP adds to the apache.conf of domain the statement:

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTPS} off
  RewriteCond %{REQUEST_URI} !/\.well-known/acme-challenge/ [NC]
  RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>

Alias /.well-known/acme-challenge/ /opt/tinycp/domains/tinycp.com/ssl/acme/challenges/
<Directory /opt/tinycp/domains/tinycp.com/ssl/acme/challenges>
  Options None
  AllowOverride None
  Order allow,deny
  Allow from all
  Require all granted
  ForceType text/plain
</Directory>
Thank you, but the ACME challenge still fails. when going to the ACME challenge, I get the message "Blocked" and thats it, not error code, nothing
Join our Discord server
Write a reply Edit a reply