[pmwiki-users] Index.PHP Question

Steve Rowe think1blue at yahoo.com
Fri Oct 26 09:27:17 CDT 2007


REPLY:

I'm sorry. I shouldn't have typed Index.php in my
email. The file is lowercase "index.php".

Do most people unpack pmwiki directly into the root
directory? I thought I read somewhere that it was
better to have a \pmwiki directory.

(Don't know how to reply when you get the condensed
Digest version of the posts...?)

PREVIOUS NOTE:

On Thursday 25 October 2007, Steve Rowe wrote:
> I made a wiki website a few years ago and it is
still
> working great. I'm now attempting to put up my
second
> wiki on the same server in a non-farm environment
and
> I'm having an issue.
>
> I am not a server guy and I have little personal
> experience with IIS.  I have access to certain
drives
> where I have set-up websites and thats it.
>
> The IT guy has the server directory set-up like
this:
>
> E:\xyz\1stSite\pmwiki
> E:\2ndSite\pmwiki
>
> For the first site I created Index.php consisting of
> this:
>
> <?php chdir('pmwiki'); include_once('pmwiki.php');
>
> When I type www.1stSite.com in a browser, it works
> every time.
>
> So, I copied the Index.php in E:\2ndSite consisting
of
> this:

Sorry I am not an IIS guy either (at all), but usually
you should name
 the 
file:

   index.php

and not:

   Index.php    or    Index.PHP

(All lowercase letters.)

>
> <?php chdir('pmwiki'); include_once('pmwiki.php');

Is there a 'pmwiki' directory? And inside it, is there
the 'pmwiki.php'
 file?

You could unzip the archive that you download from
pmwiki.org, directly
 in the 
folder E:\2ndSite\. Then, the file pmwiki.php, and
some directories
 (local, 
scripts, wikilib.d) will be in the same folder
E:\2ndSite\. And then,
 you 
have the file "E:\2ndSite\index.php" (only lowercase
letters) that
 contains:

   <?php include_once('pmwiki.php');


Try the lowercase filename, it may solve it.

Good luck,
Petko

P.S. On some Windows FAT32 systems it might be
impossible to rename a
 file to 
all lowercase letters, in that case first rename
Index.php to temp.php,
 then 
temp.php to index.php.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the pmwiki-users mailing list