Score:0

AH00686: cannot read directory for multi: /var/www/../web/

id flag

I have a problem. I have ispconfig and i have a lot of sites. If i make from beginning the joomla installation, the site works fine. When i moved from another server that i have 6 sites, the 3 of them works fine but the other 3 i get an empty page with the word error. I try to search the solution but i didnt find anything. Only that perhaps it must be from apache2/php.

I see the error log and the error that says there is:

[Mon Jan 10 14:38:08.064460 2022] [negotiation:error] [pid 3501998] (13)Permission denied: [client myip:port] AH00686: cannot read directory for multi: /var/www/mysite/web/

I have done some changes to .htaccess and php.ini but neither worked.

Ubuntu version is 20.04.3.

Score:0
in flag

Generally this happens when there are file permission issues. You will want to ensure that all files and directories for the site are owned by Apache:

sudo chown -R www-data:www-data /var/www/mysite

Note: This will set ownership on every file and directory within /var/www/mysite.

id flag
Yes i check that you said, but i made the same steps that i have done to all the other sites that they are working. Also the permissions are the same with the other sites that are working. Any other solution please? Thank you in advance
in flag
There is not enough information about your server configuration to offer more specific solutions. Will your AppArmor configuration allow Apache to use `/var/web` instead of `/var/www`? Is the virtual host configuration pointed correctly? Are there any symlinks that might be causing trouble? You'll need to do a bunch of digging through your logs to see what the exact issue is
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.