Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2002
    Hilton Head SC

    Exclamation index.php Default Help

    I recently moved my site to a new server. I now have it up and running again.
    I have php enabled my local machine to run as a local web host so i can edit and view the pages before uploading.

    The one problem I am having now is I can not view the pages that are not in the root folder. And even in the root folder, if i click on the "Home" link, which refers to /index.php. I get the following error.

    HTTP Error 403 - Forbidden
    Internet Explorer

    When I mouse_over the links it shows the correct directory_path, but some reason index.php does not come up as the default page. I get the same error as above.

    Is there a variable or switch I need to change or set?

    Any help would be greatly appreciated, as I am learning, obviously.

  2. #2
    Join Date
    Jun 2001
    Sounds like the DirectoryIndex is not setup to look for index.php. It should be something like:

    DirectoryIndex index.php index.html

    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation

  3. #3
    Join Date
    Aug 2000
    Tacoma, Washington
    you can drop that into a text file and name it .htaccess if you don't have access to root. Just upload it to your site's directory and all should become good again

    Greg Moore
    Former Webhost... now, just a guy.

  4. #4
    Join Date
    Dec 2001
    New Hampshire

    Re: index.php Default Help

    Originally posted by CSTSUPERMAN
    can not view the pages that are not in the root folder
    you can add your <VirtualHost> information to httpd.conf, but you must also (assumed = if(windows).. I don't know anything else yet) edit your HOSTS file to recognize the host

    Originally posted by CSTSUPERMAN
    local machine to run ... local web host
    Originally posted by akashik
    if you don't have access to root

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts