File not found

Although this PHP script ({$_SERVER['SCRIPT_NAME']}) exists, the file requested for output does not.

"; return; } header( "Cache-Control: s-maxage=$wgSquidMaxage, must-revalidate, max-age=0" ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s', $stat['mtime'] ) . ' GMT' ); if ( !empty( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) ) { $modsince = preg_replace( '/;.*$/', '', $_SERVER['HTTP_IF_MODIFIED_SINCE'] ); $sinceTime = strtotime( $modsince ); if ( $stat['mtime'] <= $sinceTime ) { header( "HTTP/1.0 304 Not Modified" ); return; } } $type = wfGetType( $fname ); if ( $type ) { header("Content-type: $type"); } else { header('Content-type: application/x-wiki'); } readfile( $fname ); } function wfGetType( $filename ) { # There's probably a better way to do this $types = <<