[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-users] Re: Trouble on Debian install
From: |
Craig H. Anderson |
Subject: |
[Phpgroupware-users] Re: Trouble on Debian install |
Date: |
Mon, 25 Nov 2002 21:39:51 -0700 |
Here is the start of the page. What is missing in the Apache config?
<?php
/**************************************************************************
\
* phpGroupWare
*
* http://www.phpgroupware.org
*
* --------------------------------------------
*
* This program is free software; you can redistribute it and/or modify it
*
* under the terms of the GNU General Public License as published by the
*
* Free Software Foundation; either version 2 of the License, or (at your
*
* option) any later version.
*
\**************************************************************************
/
/* $Id: index.php,v 1.110.2.1 2002/03/05 22:28:55 jengo Exp $ */
$phpgw_info = array();
$GLOBALS['sessionid'] = @$GLOBALS['HTTP_GET_VARS']['sessionid'] ?
@$GLOBALS['HTTP_GET_VARS']['sessionid'] :
@$GLOBALS['HTTP_COOKIE_VARS']['sessionid'];
if (! $GLOBALS['sessionid'])
{
Header('Location: login.php');
exit;
}
/*
This is the preliminary menuaction driver for the new
multi-layered design
*/
if (@isset($GLOBALS['HTTP_GET_VARS']['menuaction']))
{
list($app,$class,$method) =
explode('.',$GLOBALS['HTTP_GET_VARS']['menuaction']);
if (! $app || ! $class || ! $method)
{
$invalid_data = True;
}
Chris Weiss writes:
if you save it to disk what does it look like? if it has php code in it then
your
web server isn't properly php enabled.