PDA

View Full Version : Index Blank


CleberDantas
2nd July 2007, 17:33
I installed debian (perfect install) + ISPCONFIG.

Index is blank. I sended my site correct.

If i create via SSH index.php, i see correct via browser. If i send via ftp, i see blank and receive this error in log:

[Mon Jul 02 08:25:49 2007] [error] [client 201.87.21.20] Directory index forbidden by Options directive: /var/www/web10/web/

What problem?

djkoelkast
2nd July 2007, 17:37
You didn't enable index.php as directoryindex, try to upload index.html, if this works you know the problem ;)
or you can also see it through: www.site.com/index.php not thorugh www.site.com

look back in the perfect setup for directoryindex to solve this

CleberDantas
2nd July 2007, 17:40
DirectoryIndex:
index.htm
index.php
index.html

djkoelkast
2nd July 2007, 17:42
can you access the index.php directly?

CleberDantas
2nd July 2007, 17:45
If i access:

http://www.mysite.gov.br/index.htm

I see blank page (i used refresh of site).

CleberDantas
2nd July 2007, 23:28
Hello,

Have solution for this problem?

till
3rd July 2007, 12:28
Please post the output of:

ls -la /var/www/web10/web/

CleberDantas
3rd July 2007, 14:27
Part of list:

-rw-r--r-- 1 web10_cleber web10 21065 2007-07-02 08:38 index.htm

falko
3rd July 2007, 16:43
Please post the full output.

Are there any errors in Apache's error log?

CleberDantas
4th July 2007, 06:58
All files have this permition:

-rw-r--r-- 1 web10_cleber web10

till
4th July 2007, 10:26
Please post a part of the apache error log too which is in the logs directory of the website.

falko
5th July 2007, 14:28
All files have this permition:

-rw-r--r-- 1 web10_cleber web10
Please post the full output...

ACDII
6th July 2007, 19:38
I am having the exact same issue. I just did a full reinstall on FC6 with IPSConfig 2.2.14, and when I try to bring up the site I get a blank page. It is a site that I have running on another box using ISPConfig, but it is version 2.2.8. I moved the files over and the directory structure, some of the pages work, but none associated with the index.php works. I have index.php as the first listed under directoryindex, index.html second, and I can pull up index.html. I followed LAMP FC6 Howto.

WHere can I look for the logs, and what else can I look for?

ACDII
6th July 2007, 22:27
Well, I started commenting out lines in my index.php and discovered the bad file. My mainfile.php no longer works on the new server.

<title>Welcome to Rancid</title><?php
ob_start("ob_gzhandler");

function OpenTable()
{
global $glob_width;
echo "<TABLE BORDER=1 CELLPADDING=0 CELLSPACING=0 WIDTH=\"100%\">";
}

function CloseTable()
{
echo "</TABLE>";
}
?>


Any thoughts on this?

till
7th July 2007, 14:16
Does the PHP file gets parsed at all? The above file can not output anything as it just contains 2 functions and none of the functions is called and nothing else is included that might call these functions.

ACDII
9th July 2007, 15:55
Funny thing is, I am not really sure what that file is for. It has been a year since I put that little site together. Still having viewvc issues, cant remember how I got it working the first time. Anyway, here is what the index.php has that calls this page.

//require_once("mainfile.php");
include ('./includes/header.html');


I commented out the require_once to get it working, so I am not sure what that file is doing.

CleberDantas
9th July 2007, 22:08
Hello again,

If i access my site, i see blank.

If i see code source via brownser, i see all code source. normal.

:eek: