When I attempt to connect to localhost/mantis I get prompted to download a file. The file name changes every time I do this but the contents remain the same:
Code: Select all
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
# Copyright (C) 2002 - 2004 Mantis Team - mantisbt-dev@lists.sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
# --------------------------------------------------------
# $Id: index.php,v 1.14 2004/01/11 07:16:07 vboctor Exp $
# --------------------------------------------------------
?>
<?php require_once( 'core.php' ) ?>
<?php
if ( auth_is_user_authenticated() ) {
print_header_redirect( 'main_page.php' );
} else {
print_header_redirect( 'login_page.php' );
}
?>
It seems that apache is not translating the php to html. I didn't see any build errors, so I am not quite sure were to start with this problem. Any help is greatly appreciated.
Patrick Burns
Code: Select all