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

Re: apache and php



-- Chris Lale <ctlale@coolscience.co.uk> wrote
(on Tuesday, 19 November 2002, 05:03 PM +0000):
> Shyamal Prasad wrote:
>  > I can't help with your PHP problem, but you really need to fix this
>  > if you ever browse your apache served pages from another place. Your
>  > best bet is to edit the config file and set ServerName to the IP
>  > address of the system. Otherwise redirects fail and things can be
>  > quite bizzare. This might even be the source of your PHP problem, but
>  > it might not (never used PHP).
> 
> The system is a stand-alone home box with a dial-up modem. I assume that
> setting ServerName http://127.0.0.1/ is appropriate.
Actually, set ServerName to 127.0.0.1 or localhost, like thus:
    ServerName 127.0.0.1
or
    ServerName localhost

DON'T specify it as:
    Servername http://127.0.0.1

-- 
Matthew Weier O'Phinney
matthew@weierophinney.net



Reply to: