Re: Re[2]: [PHP-WIN] Testing php in Win2000?
| From: | Phil Driscoll | Date: | Tue, 26 Jun 2001 09:44:48 +0000 |
| Subject: | Re: Re[2]: [PHP-WIN] Testing php in Win2000? | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8038@lists.php.net to get a copy of this message | ||
This may not be your problem, but since it's bitten me on NT before, I
thought I'd mention it.
I never have any problems accessing the local web server via localhost or by
the machine's IP address, however if I try to access a local site via a name
set up in the winnt\system32\drivers\etc\hosts file, then the browseri
insists on going into it's dialup routing (even though I can ping the host
from the command line).
I haven't found a way around this problem. It is normally not a great issue,
but some software such as phorum issues redirect headers to redirect the
browser to phorum's configured host. This makes it tricky to test a full
production setup on my local machine.
Where I need to use php to access multiple sites on the local machine, I tend
to run each site on a different port on localhost (although you could
probably also run each site on a different IP address.
Apologies if this is not the cause of your problem.
Cheers
--
Phil Driscoll