![]() |
|
#1
|
|||
|
|||
Apache In Windows XpHi I am a new user of Apache.
I recently installed the Easyphp pack from easyphp.org Apache , Mysql, Php and phpadmin ran first time without any problem. My problem appears to be widows XP . Everytime I call a NEW page in MSIE it asks me to connect to the server. I have already disabled my dial up connection . I have tried work offline and work online in MSIE. How do I get XP to recognise that apache server is always connected. This problem does not stop Apache from working but it is annoying. Once a page has been visited its ok. BUT next time I start up the problem comes back. This cannot be MSIE because recent pages would load from the history cache! I have tried other forums but no luck yet, any suggestions?? Thanks for reading J |
|||
|
#2
|
||||
|
||||
|
are you loading your pages with the url: http://127.0.0.1/
if you use something like http://myserver/ it will try to lookup the ip address, on internet. There is also a trick with a file called 'hosts', if this doesn't work... |
|
#3
|
||||
|
||||
|
Hello JUNK KED,
I have been using Apache now for years and I have never seen this behaviour you describe... When you say "it asks me to connect to the server", I cannot recall MSIE, at anytime, asking me that. If I have Apache OFF and want to view http://localhost/ or http://127.0.0.1/ , all the browser ever does is say that "The page cannot be displayed". If this is what you mean by "it asks me to connect to the server" - then all it means is that either Apache is not running or you're viewing a previous cached copy (of the failed attempt). So, I would suggest looking at your Internet Explorer cache settings (look in Internet Options). My setting for: Check for newer versions of stored pages is Automatically. You could try setting it to Every visit to the page just to see if you can improve on your situation by fiddling with this setting. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#4
|
|||
|
|||
THANKS FOR REPLYThanks for replying so quickly guys.
Allowee,I tried using 127.0.01 instead of localhost but no luck! JDS I meant to say Apache was definitely on and working when this problem occurs. It must be a XP problem. |
|
#5
|
|||
|
|||
work aroundHi I just tried using MOZILLA as my default browser and it works fine!
So I think I will use MOZILLA to test my PHP. However if you can think of anything else i would be greatful. I'll try a couple more XP forums and see if I can get an answer. Maybe it is just Easyphp does not like XP or MSIE Thanx again for hte effort. Junk ked |
|
#6
|
|||
|
|||
Trying to connect you...I also have this problem!
Typing localhost/whatever into the browser (IE6 under XP) it says you need to connect. You have to press OK, then the DialUp box appears where you do NOT choose connect (otherwise you go to the internet) - you press Ofline. You have to do this! Also I have to type in localhost first (or my computer name which Apache seems to know) then the folder name - even though I have the hosts file running (and nothing works at all if I delete it). I assumed typing a URL itself would be enough when off line. I'm simply trying to get Apache to go to one URL (folder) and load some images from another - like it would if it was live. But, no luck. |
|
#7
|
||||
|
||||
Here's an idea... but for Windows MEI use Windows ME, so I am not sure how this relates to Windows XP and your dialup setting....
In Windows ME click on the dialup link, click Properties. There are 6 dialog tabs ranging from General to Dialing In the Dialing tab, I have checked the option: Never dial a connection. See if this change makes a difference... __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#8
|
|||
|
|||
|
I have at last solved the installation of Apache. Most of what I have found on many forums is wrong (no offence!) or rather, incomplete. The clearest answer (which helped) I found on minitutorials.com. The key answer to my particular problem of testing linking sites, locally, was very obvious - add in the ServerAlias (http://www.site.com and site.com) and do the same in HOSTS (it doesn't just need the domain name but the full URL if you're going to use it. Various other things like specifying the port (not needed) and son on are well documented on that site)
Thanks everyone - we need one definite site for these questions of which there are hundreds out there begging for help! (Save wasting the time of you experts). Jon Norris... Now - the depths of CSS, Flash ... |
|
#9
|
||||
|
||||
|
None taken... after all we are, well I am at least, here to share information. What's even better is that you came back to post the solution.
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
Install Adobe Flash - Without Administrator Rights by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| apache php no longer working (MX??) XP?? | ChicoMendez | Apache Web Server Forum | 5 | 30-Aug-2004 10:51 |
| Error in starting Apache under Windows | leenu_n | Apache Web Server Forum | 0 | 10-Dec-2003 06:41 |
| problems enablin drives on windows xp pro | indian4evah003 | Computer Hardware Forum | 5 | 04-Dec-2003 13:40 |
| Apache on Windows XP and passing variables | Jos Elkink | Apache Web Server Forum | 4 | 21-Nov-2003 02:21 |
| Scan your Windows XP for Security Holes | JdS | Computer Software Forum - Windows | 1 | 03-Feb-2002 12:46 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The