Find the answer to your Linux question:
Results 1 to 6 of 6
Hey, i'm trying to get a website hosted for my brother... it tries to host however i'm not sure what the problem is. His site was made in php and ...
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    8

    apache help!!

    Hey, i'm trying to get a website hosted for my brother... it tries to host however i'm not sure what the problem is. His site was made in php and uses flash. I have php4 installed on my debian box yet i'm not sure how to configure apache with a flash site(or if i need to do anything in that respect) the site can be hit at:

    echo-base.ath.cx

    any help would be great. Thanks

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    Make sure you have these in your httpd.conf:
    Code:
    <IfModule mod_dir.c>
        DirectoryIndex index.php index.htm index.html
    </IfModule>
    and..
    Code:
    AddType application/x-httpd-php .php
    Once you make the changes, restart Apache.
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    8
    does it matter where in the httpd.conf that i put that code???

    btw. thanks for taking time to help

  4. #4
    Just Joined!
    Join Date
    May 2005
    Posts
    8
    ok....i just tried that code and it still gives me the same thing wanting to download a file type application/x-httpd-php

    is there something else i can try???

  5. #5
    Just Joined!
    Join Date
    May 2005
    Posts
    8
    i think i have a better grip on what's going on.......when i try to hit the site, it wants to download the webpage to my computer......is that problem with the php code or with the apache configuration?

  6. #6
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    Check if your httpd.conf has all the stuff listed here:

    http://ar2.php.net/manual/en/install...ll.unix.apache
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

Posting Permissions

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