Re: Installing Apache and PHP from scratch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux