Receiving Index Error First Time Upload 2 Web Host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ABonk
    New Member
    • May 2006
    • 2

    Receiving Index Error First Time Upload 2 Web Host

    Hello,

    I keep receiving this error when typing in my web address
    Index of /

    Name Last modified Size Description

    [DIR] Parent Directory 11-May-2006 22:20 -
    [DIR] cgi-bin/ 10-May-2006 17:17 -

    Apache/1.3.34 Server at www.gomanagement.info Port 80

    I have recently changed hosting providers (Cost Effective)
    and my go.php looks like this
    <?php
    header("HTTP/1.1 301 Moved Permanently");
    header("Locatio n:".$HTTP_GET_V ARS['url']."");
    exit;
    ?>
    Is there something wrong with this
    I'm a first timer and would love to learn

    Thank You,
    ABonk
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    This is not an error, you have not uploaded any files to this website so the host (which has been set to display directories when there is not index.html present is doing just that, it is showing a directory listing of the files on your website.

    Upload some files

    Comment

    • ABonk
      New Member
      • May 2006
      • 2

      #3
      I have uploaded all files that came w/ site do I need to create an index.html
      all files are in php format and placed in the cgi-bin folder. Still have the same problem?

      Comment

      • Vagabond
        New Member
        • Apr 2006
        • 17

        #4
        Have you told Apachee in your config that you are using PHP like this?

        # For PHP 4 do something like this:
        LoadModule php4_module "c:/php/php4apache2.dll "
        AddType application/x-httpd-php .php .phtml .html

        # configure the path to php.ini
        PHPIniDir "C:/php"

        Comment

        • Vagabond
          New Member
          • Apr 2006
          • 17

          #5
          Banfa is right though. It's not an error your seeing and there are no files listed for the directory. Are you sure you put the files into the correct folder ?

          Comment

          Working...