You are not logged in.
http://ph.phanh.se/dokuwiki/ returns access forbidden 403
/var/log/httpd/error_log
[Tue Mar 18 14:56:14.614125 2014] [core:notice] [pid 2818] AH00094: Command line: '/usr/bin/httpd'
[Tue Mar 18 14:56:18.584002 2014] [autoindex:error] [pid 2819] [client 110.33.103.156:42670] AH01276: Cannot serve directory /usr/share/webapps/dokuwiki/: No matching DirectoryIndex (index.html,index.php,index.html) found, and server-generated directory index forbidden by Options directive cat /etc/httpd/conf/extra/dokuwiki.conf
Red on stackoverflow that apache 2.4 has another syntax, but I tried the arch dokuwiki guide and the current conf is this
Alias /dokuwiki /usr/share/webapps/dokuwiki
<Directory /usr/share/webapps/dokuwiki/>
Options +FollowSymLinks
AllowOverride All
# order allow,deny
# allow from all
Require all granted
php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps/dokuwiki/:/var/lib/dokuwiki/"
</Directory>My guess after looking around in the forums is apache is blocking dokuwiki but I have no clue how to change that
Thanks for reading this
Last edited by okamis_ (2014-03-18 22:36:40)
Offline
may be off but i know for some of my webapps i had to change permissions on the folder (in your case dokuwiki)
hope this helps
you can use chmod for this
Offline
I'm a bit embarassed so, after the update it couldnt get it to work, so I uninstalled apache and dokuwiki. Afterwards I only installed apache, that is why I couldnt reach the dokuwiki even after using the correct solution.
So I believe the dokuwiki needs an update because apache 2.4 uses another syntax.
/etc/httpd/conf/extra/dokuwiki.conf if you are using apache 2.4
Alias /dokuwiki /usr/share/webapps/dokuwiki
<Directory /usr/share/webapps/dokuwiki/>
Options +FollowSymLinks
AllowOverride All
Require all granted
php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/etc/webapps/dokuwiki/:/var/lib/dokuwiki/"
</Directory> Offline