[pmwiki-users] splash-screen

Tegan Dowling tmdowling at gmail.com
Fri May 19 13:01:05 CDT 2006

On 5/19/06, Américo Albuquerque <aalbuquerque at lanowar.sytes.net> wrote:
> ----- Original Message -----
> Subject: Re: [pmwiki-users] splash-screen
> Date: Fri, 19 May 2006 11:23:38 -0500
> From: "Tegan Dowling"
>  > What I think you're telling me doesn't work, so I obviously didn't
>  > follow, because I really have no idea what I'm doing. Here's what I
>  > did, thinking I was following your instructions:
>  >
>  > In http://company.com/wiki I have files
>  >
>  > pmwiki.php
>  > index.php
>  > logo.jpg
>  > .htaccess
>  >
>  > where index.php contained the single line: I replaced that line with
> the following
>  >
>  > <a href='http://company.com/wiki/Main/HomePage'>
>  > <img
>  > src='http://company.com/wiki/logo.jpg' alt='Click to enter'
>  > title='Click to enter' /></a> <http://company.com/wiki/Main/HomePage>
> That should have worked. What error do you get?
> Check your .htaccess to see where the redirect is going. it has to go to
> pmwiki.php and you might have it set to index.php


Here's what worked, for the benefit of other non-html, non-php,
non-apache admins out there (must be some, right?):

1) I set index.php back to the <a href=...>img=...</a>, and as before,
this caused the me to unable to ever reach the wiki.  Clicking the
image just refreshed the screen.

2) Then I changed my .htaccess file.  It did read

RewriteEngine on
RewriteRule ^([A-Z].*) /index.php?n=$1 [L,qsappend]
RewriteRule ^$ /index.php [L,qsappend]

and I changed that to

RewriteEngine on
RewriteRule ^([A-Z].*) /pmwiki.php?n=$1 [L,qsappend]
RewriteRule ^$ /index.php [L,qsappend]

(actually, I first changed both instances of "index.php" to
"pmwiki.php", and that made no difference.  Then tried just one (the
wrong one) set to index.php, and finally this is the one that works)

Now when I go to http://company.com/wiki, I get the splash screen, but
when I go to http://company.com/wiki/Main, I get the wiki.


Thanks all, as always, for helping out a novice.


More information about the pmwiki-users mailing list