Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Subdirectory Install
Avatar
darb #1
Member for a month · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Subdirectory Install
Hi,

I installed all of the files in a subdirectory and would like to access dokuwiki from my root without using a redirect.

Can anyone point out what I need to do?

Thanks!
Avatar
pop #2
Member since Nov 2016 · 205 posts
Group memberships: Members
Show profile · Link to this post
My wiki lives in the subdirectory dokuwiki. I have placed the following file, index.php, into my root directory:

<?php
/**
 * Forwarder to doku.php
 *
 */
header("Location: dokuwiki/doku.php");
Avatar
darb #3
Member for a month · 2 posts
Group memberships: Members
Show profile · Link to this post
Thanks, it was quick and easy.

It would also maybe make a good FAQ.

Cheers,

Brad
Avatar
andi (Administrator) #4
User title: splitbrain
Member since May 2006 · 3497 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
In reply to post #1
Quote by darb:
without using a redirect.

Quote by pop:
header("Location: dokuwiki/doku.php");

That is a redirect!?

I'm not sure what OP expected, but the proper solution would be to either change the server's document root or to move up all the files one level.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
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: 2019-11-12, 05:48:30 (UTC +01:00)