GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Oct-2003, 22:58
JUNK KED JUNK KED is offline
Junior Member
 
Join Date: Oct 2003
Location: uk&ireland
Posts: 85
JUNK KED will become famous soon enough

Apache In Windows Xp


Hi 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  
Old 10-Oct-2003, 02:03
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
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...
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #3  
Old 10-Oct-2003, 09:47
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
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.
  #4  
Old 10-Oct-2003, 22:44
JUNK KED JUNK KED is offline
Junior Member
 
Join Date: Oct 2003
Location: uk&ireland
Posts: 85
JUNK KED will become famous soon enough

THANKS FOR REPLY


Thanks 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  
Old 11-Oct-2003, 00:36
JUNK KED JUNK KED is offline
Junior Member
 
Join Date: Oct 2003
Location: uk&ireland
Posts: 85
JUNK KED will become famous soon enough
Talking

work around


Hi 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  
Old 26-Nov-2003, 10:14
jnorris jnorris is offline
New Member
 
Join Date: Nov 2003
Posts: 8
jnorris is on a distinguished road

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  
Old 27-Nov-2003, 04:31
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Unhappy

Here's an idea... but for Windows ME


I 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...
  #8  
Old 30-Nov-2003, 08:39
jnorris jnorris is offline
New Member
 
Join Date: Nov 2003
Posts: 8
jnorris is on a distinguished road
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  
Old 30-Nov-2003, 08:48
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
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.
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 04:09.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.