[pmwiki-users] [Fwd: Re: help!]

Peter K.H. Gragert p.k.h.gragert at skyaccess.nl
Wed Apr 11 05:03:22 CDT 2007


Hallo,
If you type  http://www.yourdomain.somwhere/ (replace everywhere by the 
www-adres you really want)
Your provider either says:

   1. not allowed access
   2. checks if there is index.htm or index.html and sends it
   3. or index.php or index.php3 (or so) and executes and sends it

If your root directory is empty and you installed there PmWiki (with 
pmwiki.php on the root)
you could do this:
===example index.php===
<?php
header("Location: http://www.yourdomaien.somewhere/pmwiki.php"); /* 
Browser umleiten */

/* Stellen Sie sicher, dass der nachfolgende Code nicht ausgefuehrt 
wird, wenn
   eine Umleitung stattfindet. */
exit;
?>
=== end example===
And anlogue(extended path) if PmWiki lives in a subdirectory

If index.php is not seen but index.html , a redirecting HTML 
(index.html) is possible too!

Greetings
         PKHG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070411/21e55cc5/attachment.html 
-------------- next part --------------
An embedded message was scrubbed...
From: jdd <jdd at dodin.org>
Subject: Re: [pmwiki-users] help!
Date: Wed, 11 Apr 2007 08:48:27 +0200
Size: 3560
Url: /pipermail/pmwiki-users/attachments/20070411/21e55cc5/attachment.mht 


More information about the pmwiki-users mailing list