Author Topic: Server unable to read htaccess file, denying access to be safe  (Read 9660 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello,
I recently installed your panel. I found an annoying problem ... When a user chalks a subdomain a 403 error occurs.

I found a solution, but this solution must be done manually. : /
I would like a solution on the long term and automatic. (correct the problem) how can I do?

Here is an image of the problem and an image of the manual solution:

https://www.noelshack.com/2019-35-6-1567260317-capture1.png

https://www.noelshack.com/2019-35-6-1567260317-capture2.png

Offline
**
Re: Server unable to read htaccess file, denying access to be safe
« Reply #1 on: August 31, 2019, 09:59:48 PM »
You mean when a subdomain is created? it gives such error? or when files are copied to the subdomain?

Offline
*
Re: Server unable to read htaccess file, denying access to be safe
« Reply #2 on: September 01, 2019, 02:15:05 PM »
Hi Evansa,
Yes when I create a subdomain, the permissions are not good.

Offline
*
Re: Server unable to read htaccess file, denying access to be safe
« Reply #3 on: September 04, 2019, 05:50:52 PM »
UP

Re: Server unable to read htaccess file, denying access to be safe
« Reply #4 on: June 17, 2020, 08:11:45 PM »
You mean when a subdomain is created? it gives such error? or when files are copied to the subdomain?

> when files are copied to the subdomain

Subdomain worked fine with just the CWP auto-generated "5069 Jan 24  2017 index.html" file.  Once I removed the directory and moved the CMS (Drupal) into place, which I have literally done a thousand times in cPanel, I get the error:

Quote
Forbidden

You don't have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe

The image above with the manual fix is dead, anyone know how to fix this?

Secondly, why would anyone think denying access to a .htaccess file on a webserver is sane?

Regards,
Michael