[Pmwiki-users] aliasing / to pmwiki, but retaining /~user use

Davis, James C. jdavis at cob.tamucc.edu
Tue May 6 12:39:53 CDT 2003


> -----Original Message-----
> From: Patrick R. Michaud [mailto:pmichaud at sci.tamucc.edu]
> Sent: Monday, May 05, 2003 10:15 PM
> To: J.R. Manes
> Cc: Pmwiki-users at pmichaud.com
> Subject: Re: [Pmwiki-users] aliasing / to pmwiki, but retaining /~user

(stuff omitted)

>=20
> Somehow I think that doing
>=20
>    Alias / /path/to/pmwiki/pmwiki.php/
>=20
> is probably a Bad Thing from a server perspective, although I've never
> tried it to see what would happen.

I tried this and it made bad things happen. It tried to send =
_everything_ to the script. That means even ~username won't work. Also, =
all the links will have an extra "/" so they don't work.
i.e. WikiSandbox resolves to http://someserver.com//Main/WikiSandbox

> And I haven't played much=20
> with having
> pmwiki.php be named index.php (in such a way that index.php=20
> never appears).

I tried this too, but I coudn't get index.php not to appear (only works =
the first time, but the links all point to =
http://someserver.com/index.php/SomeGroup/SomePage. This is because =
$HTTP_SERVER_VARS['SCRIPT_NAME'] includes the name of the script even if =
it is the default document.

James Davis
Network Manager
College of Business
Texas A&M University - Corpus Christi
(361) 825-5926
jdavis at cob.tamucc.edu




More information about the pmwiki-users mailing list