Hi All,
I am setting up Docuwiki and would like to install it in /opt/docuwiki. I have setup permissions to apache:apache for the directory and all files/subdirectories. I pulled a configuration file for Apache 2.4 and named it under /etc/httpd/conf.d/docuwiki.conf
<VirtualHost *:80>
ServerName test.com
DocumentRoot /opt/docuwiki
<Directory ~ "/opt/docuwiki/(bin/|conf/|data/|inc/)">
<IfModule mod_authz_core.c>
AllowOverride All
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
</Directory>
ErrorLog /var/log/httpd/dokuwiki_error.log
CustomLog /var/log/httpd/dokuwiki_access.log combined
</VirtualHost>
I restarted apache but when I go to load the install.php I am getting the client denied by server configuration.
AH01630: client denied by server configuration: /opt/docuwiki/install.php
I also copied the .htaccess.dist in the /opt/docuwiki/ as .htaccess
Can someone help me out with what is wrong with the Apache configuration?
Thanks