SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Jul 2003
    Location
    SC
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Apache--files do not show up

    The first file I uploaded to Apache worked.

    However, all subsequent files fail to show up in Apache.

    I type localhost/... just like I do for the first file and the fail to appear.

    What am I doing wrong in order toget files to execute?

    I have moved the test files to htdocs directory.

    I get 404(dead page) error, like it cannot find anything.

    --Scott

  2. #2
    Non-Member
    Join Date
    Jan 2003
    Posts
    5,748
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it worked the first time then obviously to me anyways, it's not the server it's self, but what changes you've made since then ?

    You say you've moved some test files ? What test files... Those that are language specific that alread exist in the htdocs directory ? ie the default page you get when you install the server - the one with the apache logo etc telling you that the server has been installed correctly etc ?

    Or are you talking about your own test files, ie with PHP embedded tags ?

  3. #3
    SitePoint Member
    Join Date
    Jul 2003
    Location
    SC
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My own test(which have several names) files, one I named sql2.php.

    I have not altered the Apache files.

    --Scott

  4. #4
    eschew sesquipedalians silver trophy sweatje's Avatar
    Join Date
    Jun 2003
    Location
    Iowa, USA
    Posts
    3,749
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    are your new files readable by the web server user?

    What shows up in the apache logs?
    Jason Sweat ZCE - jsweat_php@yahoo.com
    Book: PHP Patterns
    Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
    Detestable (adjective): software that isn't testable.

  5. #5
    Non-Member
    Join Date
    Jan 2003
    Posts
    5,748
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In this case then - from my own experience as this has happened to me as well - it is a config problem with your server;

    What build is it ? CGI or a Module ...

    If CGI then be sure that your Action is valid, ie

    PHP Code:
    Action application/x-httpd-php "/php/php.exe"

    # and the others ...

    ScriptAlias /php"d:/php/"
    AddType application/x-httpd-php .php
    AddType application
    /x-httpd-php-source .phps 


Bookmarks

Posting Permissions

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