Re: Installing Apache and PHP from scratch
| From: | Don | Date: | Thu, 09 Dec 2004 14:12:47 +0000 |
| Subject: | Re: Installing Apache and PHP from scratch | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-203819@lists.php.net to get a copy of this message | ||
> Hi,
>
> Have been using RedHat and Fedora Systems. When I install the OS, Apache
> is
> usually installed already and I download PHP and install manually. I'd
> like
> to install Apache itself but not sure what configuration to use. Is there
> a command similar to the phpinfo() command that can tell me how an already
> installed Apache in configured?
Enable server-info in your httpd.conf and be amazed at the amount of
information http;//localhost/server-info will chuck at you.
========================
How exactly does this work?
1. In my httpd.,conf file< i uncommented teh following lines:
<Location /server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from .lclnav.com
</Location>
2. I then restarted my apache server
3. I then type in the location bar: HYPERLINK
"http://www.lclnav.com/server-info"http://www.lclnav.com/server-info
I get (doesn't work):
"Forbidden
You don't have permission to access /server-info on this server."
Note: I created the directory 'server-info' off of the directory root after
the error; still errors
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.807 / Virus Database: 549 - Release Date: 12/7/2004