Le serveur ne peut pas lire le fichier htaccess, accès refusé pour des raisons de sécurité.

Solved
Flav20 -  
jojorealisateur Posted messages 214 Status Member -
"Forbidden
You don't have permission to access this resource. The server is unable to read the htaccess file, denying access to be safe"
"Forbidden
You are not allowed to access this resource. The server cannot read the htaccess file, denying access to be safe"

Hello, I have a small issue with my web server. I had installed Apache2 and it worked well for 2 days. Unfortunately, I have encountered many problems since then (permissions, directory access...). Indeed, every time I solve one problem, another one appears! I managed quite well until now but I have hit a wall. I'm a beginner in website programming and I would like some help. Moreover, I don't even intend to use the ".htaccess" file. I look forward to your responses ^^.

I have a VPS running on Debian 10.

4 answers

  1. jojorealisateur Posted messages 214 Status Member 18
     
    Mmmmh...

    I've already had sushi with .htaccess.

    So, you're talking about issues with permissions... Could you check that your .htaccess file has the permissions 0755?

    Moreover, I don't even intend to use the ".htaccess" file.
    Just a little note: htaccess is essential in the administration of an Apache web server. I really recommend reading the following Wikipedia page: https://fr.wikipedia.org/wiki/.htaccess
    1