[dokuwiki] Re: Can no longer access DokuWiki

  • From: "tom corcoran" <osssoftware@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 2 Apr 2008 16:45:08 +0100

Thanks for the tip. Had to lookup what that was. I did not change it
knowingly, it's a recent clean install of ubuntu gutsy server I am using.

Looking at webmin the server pid file was set to  /var/run/apache2.pid...I
put it to default but that did not make a difference..I'm stabbing in the
dark, not knowing what I am doing really...

That reminds me the one thing I did was I installed a dokuwiki package via
aptitude that i think installed apache2...this was before I just downloaded
the tar and got dokuwiki working fine. I think this package added
apache2-default directory to my /var/www/, I deleted it the other day when I
was trying to solve this problem but that did not help either.

There was a hidden .htaccess file in /var/www (see below), which I deleted,
but that did not help.

Thanks, Tom.

/var/www/.htaccess:

## Enable this to restrict editing to logged in users only

## You should disable Indexes and MultiViews either here or in the
## global config. Symlinks maybe needed for URL rewriting.
#Options -Indexes -MultiViews +FollowSymLinks

## make sure nobody gets the htaccess files
<Files ~ "^[\._]ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>

## Uncomment these rules if you want to have nice URLs using
## $conf['userewrite'] = 1 - not needed for rewrite mode 2
#RewriteEngine on
#
## Not all installations will require the following line.  If you do,
## change "/dokuwiki" to the path to your dokuwiki directory relative
## to your document root.
#RewriteBase /dokuwiki
#
## If you enable DokuWikis XML-RPC interface, you should consider to
## restrict access to it over HTTPS only! Uncomment the following two
## rules if your server setup allows HTTPS.
#RewriteCond %{HTTPS} !=on
#RewriteRule ^lib/exe/xmlrpc.php$      https://%{SERVER_NAME}%{REQUEST_URI}
[L,R=301]
#
#RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
#RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
#RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
#RewriteRule ^$                        doku.php  [L]
#RewriteCond %{REQUEST_FILENAME}       !-f
#RewriteCond %{REQUEST_FILENAME}       !-d
#RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
#RewriteRule ^index.php$               doku.php


2008/4/2 周才淇(Choicky Chou) <zhoucaiqi@xxxxxxxxx>:

> "not found on this server"? Maybe you applied a wrong .htaccess rule?
>
>
> On Wed, Apr 2, 2008 at 5:56 PM, tom corcoran <osssoftware@xxxxxxxxx>
> wrote:
>
> > This is a real head scratcher for me. I download the 31 March RC and
> > reinstalled.
> >
> > Going to dokuwiki still gives a 404 error - "The requested URL
> > /dokuwiki/ was not found on this server."
> >
> > tom@server:/var/www$ ls -all
> > total 16
> > drwxr-xr-x  4 root     root     4096 2008-04-02 10:47 .
> > drwxr-xr-x 15 root     root     4096 2008-02-25 10:22 ..
> > drwxrwxr-x  7 www-data www-data 4096 2008-03-31 19:11 dokuwiki
> > drwxr-xr-x 15 www-data www-data 4096 2007-11-15 08:01 dotproject
> >
> > I have carried out the permission instructions many times
> > http://wiki.splitbrain.org/wiki:install:permissions
> >
> > I'm hoping on of ye gurus might be able to spot the issue.
> >
> > Thanks, Tom.
>
>

Other related posts: