Web Design and Development Forums

apache 'http://localhost' not working

This is a discussion on "apache 'http://localhost' not working" within the Apache and IIS section. This forum, and the thread "apache 'http://localhost' not working are both part of the Hosting Related category.


Go Back   Webforumz.com > Hosting Related > Apache and IIS

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Apr 6th, 2008, 02:56   #1 (permalink)
Junior Member
 
Join Date: Mar 2008
Location: seattle.wa
Posts: 15
apache 'http://localhost' not working

I recently got into using apache and got stuck after installing. I looked on a bunch of tutorials and went step by step to install. here's the problem:

after installing, I get no errors.
but yet when I open ie or ff and type in http://localhost, it just sits there, then gives my a page not found error.


settings:
network domain: localhost
server name: localhost
administrator email address: xxxx@hotmail.com
picked for all users, on port 80, as a service, -- recommended

configuration:
server root: C:/Program Files/Apache Software Foundation/Apache2.2
Listen 80
ServerAdmin xxxx@hotmail.com
ServerName localhost
DocumentRoot "D:/site"
<Directory "D:/site">
DirectoryIndex index.html index.php

please help me out.
lcsaeteurn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 6th, 2008, 11:38   #2 (permalink)
Chief Moderator
 
aso186's Avatar
 
Join Date: Oct 2007
Location: UK
Posts: 701
Blog Entries: 2
Send a message via Skype™ to aso186
Re: apache 'http://localhost' not working

Which version of Apache are you running?

The two biggest problem causers are firewalls and malformed config files.

If you're running any form of firewall (even XP's built in one), turn it off and test localhost.

If your problem's still not solved, resort back to the default config file (google 'Apache X default config file', X being the version) and test again.
__________________

aso186 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 6th, 2008, 20:36   #3 (permalink)
Junior Member
 
Join Date: Mar 2008
Location: seattle.wa
Posts: 15
Re: apache 'http://localhost' not working

nevermind, I went through the error.log and looked up a few things online and then added this line: Win32DisableAcceptEx, now it works great.
lcsaeteurn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 6th, 2008, 20:42   #4 (permalink)
Section Manager - WOTM
Assistant Editor - LZ
 
Jack Franklin's Avatar
 
Join Date: May 2007
Location: Cornwall, England
Posts: 1,101
Blog Entries: 5
Re: apache 'http://localhost' not working

In future, check out XAMPP
__________________
Section Manager (WOTM)

My Weblog & E-Portfolio
Catch me daily on: Twitter | Digg | Flickr
Jack Franklin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 6th, 2008, 20:54   #5 (permalink)
 
Join Date: Jun 2007
Location: uk
Posts: 459
Re: apache 'http://localhost' not working

I agree with jack. Installing individual programmes like apache, Mysql, PHP IS A REAL PAIN!!.

xampp will do it for with very little hassle.

http://www.apachefriends.org/en/xampp-windows.html#641
dab42pat is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 7th, 2008, 08:08   #6 (permalink)
Junior Member
 
Join Date: Mar 2008
Location: seattle.wa
Posts: 15
Re: apache 'http://localhost' not working

thanks for the suggestion guys, I didn't know what xampp was, I hadn't even heard of it, but now that I know, I'll definitely use it, you do not know how much time I put into getting apache to work, installing php onto apache was a little painful, but mysql, oh my gosh, frustration through the roof, and I still don't have it running yet. thanks again for everything. later then.
lcsaeteurn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Apr 16th, 2008, 18:21   #7 (permalink)
Up'n'Coming Member
 
Join Date: Sep 2006
Location: Nottingham
Posts: 66
Send a message via AIM to samducker Send a message via MSN to samducker Send a message via Yahoo to samducker Send a message via Skype™ to samducker
Re: apache 'http://localhost' not working

if your a perfectionist though installing manually is always the best solution mind
samducker is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
http://localhost/file.php azilaka PHP Forum 16 Jul 13th, 2007 21:56
(localhost) cookie weirdness Donny Bahama PHP Forum 4 May 29th, 2007 14:44
Passing an XML file from Localhost to Server... JustinStudios ASP Forum 1 Apr 13th, 2007 21:27
Sending Emails From Localhost ? Accurax PHP Forum 6 Jan 20th, 2007 03:05
'ODBC'@'localhost' error Sqrlgrl MySQL 8 Nov 21st, 2005 13:27



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 06:23.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59