On Thursday 17 January 2002 11:33 am, Jeff Dairiki wrote:
> On Thu, 17 Jan 2002 11:17:22 -0500
>
> "Tim Bogart" <tim...@wc...> wrote:
> > It seems to be doing redirects to localhost, 127.0.0.1.
>
> (I'm assuming that you're running PhpWiki 1.3.x, and mod_php...)
>
> A couple of things to try:
>
> 1. In index.php, define USE_PATH_INFO to 'false'. (Just uncomment the
> sample line which is already there.)
>
That worked.
> or
>
> 2. Also in index.php, define SERVER_NAME to the name (or ip address) of
> your server.
>
I did this too.
> If either fixes the problem, I think it means that apache is not setting
> the CGI environment variable $SERVER_NAME correctly...
>
> It might also be helpful to create a phpinfo script and check what value
> is being assigned to SERVER_NAME. (Create a file called, say,
> phpinfo.php, in your htdoc tree which contains one line: <?php phpinfo();
> ?> When you browse the file, you'll see loads and loads of information
> regarding the configuration of your PHP (and Apache).)
>
did this one as well and now I am getting errors which make me think I'm on
the threshold of solving the last of the issues here. I'll generate a new
thread for this one.
>
> Jeff
>
> PS. This isn't in a virtual hosting environment is it?
No, it isn't
If so, then the
> problem is probably that you must access the server using a host name, not
> an IP number....
Thanks Jeff!
|