Re: Re: No Localhost with apache?
| From: | @ Edwin | Date: | Wed, 28 Aug 2002 17:00:02 +0000 |
| Subject: | Re: Re: No Localhost with apache? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114387@lists.php.net to get a copy of this message | ||
Actually, the same thing happens if the ServerName directive was not set.
But anyway, even if the default page doesn't show up,
http://localhost/some.php
would still work...
- E
--- "Ryan A" <r@jumac.com> wrote in message news:000e01c24e7f$b7bd8820$61d396c1@l2zcaxu7emppqh... Anyway, I installed PHPTriad first but since the version of php is 4.0.0 I uninstalled it and installed SpaceServer...the problem I noticed with both was I could not get the default page from apache with http://localhost/ I have to use http://127.0.0.1 or it gives me a page not found error....Any idea why? I have tried using it with the port numbers of :80 and :8080 without any luck..I need it to display the pages using "localhost" as some programs are configured that way... --- What is the value of "ServerName" in your httpd.conf file? I'm guessing that it's "127.0.0.1". If so, just change it to "localhost" and restart Apache. --- Seairth Jacobs seairth@seairth.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php_________________________________________________________________ 最新のファイナンス情報とライフプランのアドバイス MSN マネー http://money.msn.co.jp/