Index Blank

Discussion in 'Installation/Configuration' started by CleberDantas, Jul 2, 2007.

  1. CleberDantas

    CleberDantas New Member

    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?
     
  2. djkoelkast

    djkoelkast New Member

    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
     
  3. CleberDantas

    CleberDantas New Member

    DirectoryIndex:
    index.htm
    index.php
    index.html
     
  4. djkoelkast

    djkoelkast New Member

    can you access the index.php directly?
     
  5. CleberDantas

    CleberDantas New Member

  6. CleberDantas

    CleberDantas New Member

    Hello,

    Have solution for this problem?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    ls -la /var/www/web10/web/
     
  8. CleberDantas

    CleberDantas New Member

    Part of list:

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

    falko Super Moderator Howtoforge Staff

    Please post the full output.

    Are there any errors in Apache's error log?
     
  10. CleberDantas

    CleberDantas New Member

    All files have this permition:

    -rw-r--r-- 1 web10_cleber web10
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post a part of the apache error log too which is in the logs directory of the website.
     
  12. falko

    falko Super Moderator Howtoforge Staff

    Please post the full output...
     
  13. ACDII

    ACDII Member

    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?
     
  14. ACDII

    ACDII Member

    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.

    PHP:
    <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?
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  16. ACDII

    ACDII Member

    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.

    PHP:
    //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.
     
  17. CleberDantas

    CleberDantas New Member

    Hello again,

    If i access my site, i see blank.

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

    :eek:
     

Share This Page