Possible fix for: AH01630: client denied by server configuration.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 07 May 2023 00:34:23 +0300
changeset 13 7ed40cd96e3a
parent 12 26943e31cae5
child 14 719ced1ac5c3
Possible fix for: AH01630: client denied by server configuration.
deb/apache-register-2048.bash
--- a/deb/apache-register-2048.bash	Sun May 07 00:23:05 2023 +0300
+++ b/deb/apache-register-2048.bash	Sun May 07 00:34:23 2023 +0300
@@ -12,6 +12,10 @@
 cat <<EOF >/etc/apache2/sites-available/$d.conf
 <VirtualHost $d.defun.work:*>
 	DocumentRoot /srv/www/$d
+
+    <Directory "/srv/www/$d/">
+        Require all granted
+    </Directory>
 </VirtualHost>
 EOF