Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
Forbidden You don't have permission to access /mywiki/doku.php on this server.
Permission problem
retep #1
Member since Sep 2009 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Forbidden You don't have permission to access /mywiki/doku.php on this server.
Running version 2009-02-14b
Fedora Core 5
Using XAMPP
Own server so I can change any permissions

Read lots of posts about this, even a fix in Debian
refers to the error. Some users suggest dumping
XAMPP and using Apache 2.

The error occurs only when trying to access the
configuration manager. All other options on that
page allow me (Admin) to run the commands.

I am not inspired by suggestions that 777 is
the "solution".

Is this a bug that is fixed in the bleeding edge version?

I plan to build a Fedora 11 box "Real Soon Now (tm)"
if Real Life does not get in the way, but would
prefer to get this playground working.

Suggestions welcomed. I am a programmer
but not a PHP guru and could provide debug
data etc. if told how to get it.

Thanks,

Peter
Avatar
andi (Administrator) #2
User title: splitbrain
Member since May 2006 · 3509 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by retep:
The error occurs only when trying to access the configuration manager. All other options on that page allow me (Admin) to run the commands.

That sounds like this problem: http://www.dokuwiki.org/faq:mod_security
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
retep #3
Member since Sep 2009 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: Solution
$ pwd
/opt/lampp/htdocs/mysite/mywiki
$ sudo cp .htaccess.dist .htaccess

Now edit .htaccess and change the line:

#RewriteBase /dokuwiki
to
RewriteBase /mywiki

Check permissions:
$ ls -la .htaccess
-rw-r--r-- 1 nobody nobody 1468 Sep 25 12:02 .htaccess
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-18, 12:38:52 (UTC +01:00)