[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] Apache2 and php
From:       Daniel Drake <dsd () gentoo ! org>
Date:       2004-04-27 20:32:22
Message-ID: 408EC356.8040504 () gentoo ! org
[Download RAW message or body]

ken@kenwstevens.net wrote:
> The documents I am testing are just in a directory in my user account.
> 
> I open a terminal window and I do either of the following:
> 
> netscape hello.php &
> or
> mozilla hello.php &

Thats the problem. You are locally opening the files with Mozilla/netscape - 
you are totally avoiding apache here (it might as well not be installed)!

You need to access them through normal HTTP connections, i.e. 
http://127.0.0.1/ should bring up a page about apache, and 
http://127.0.0.1/hello.php will bring up and process the page kept at 
/var/www/localhost/htdocs/hello.php

Daniel

--
gentoo-user@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic