Hello!
I am currently experiencing issues trying to create farms in my windows installation of dokuwiki. Below are my current file setups.
When trying to browse to my server-name/farm/ops I get a
"
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again."
.htaccess located within the farm directory
#unix -- do not change or move
RewriteEngine On
RewriteRule ^/?([^/]+)/(.*) D:/xampp/htdocs/dokuwiki/$2?animal=$1 [QSA]
RewriteRule ^/?([^/]+)$ D:/xampp/htdocs/dokuwiki/?animal=$1 [QSA]
Options +FollowSymLinks
order allow,deny
deny from all
<FilesMatch "\.(gif|jpe?g|png)$">
order allow,deny
allow from all
</FilesMatch>
Options -Indexes
httpd.conf located in my apache\conf\ (I've excluded what I think is not needed, but here is what I have for my root)
DocumentRoot "D:/xampp/htdocs/dokuwiki"
<Directory "D:/xampp/htdocs/dokuwiki">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
preload.php located in my \htdocs\dokuwkik\inc\ (The farmer)
<?php
/**
* This is an example for a farm setup. Simply copy this file to preload.php and
* uncomment what you need. See http://www.dokuwiki.org/farms for more information.
* You can also use preload.php for other things than farming, e.g. for moving
* local configuration files out of the main ./conf directory.
*/
// set this to your farm directory
if(!defined('DOKU_FARMDIR')) define('DOKU_FARMDIR', 'D:/xampp/htdocs/farm');
// include this after DOKU_FARMDIR if you want to use farms
include(fullpath(dirname(__FILE__)).'/farm.php');
// you can overwrite the $config_cascade to your liking
//$config_cascade = array(
//);