From: Jeff D. <da...@da...> - 2002-01-17 16:33:35
|
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.) or 2. Also in index.php, define SERVER_NAME to the name (or ip address) of your server. 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).) Jeff PS. This isn't in a virtual hosting environment is it? If so, then the problem is probably that you must access the server using a host name, not an IP number.... |