Return to the Forum Home
 Post New TopicNote: Polls are considered new topics.  If you post a poll, it will be created as a new subject in this forum, not as a reply within this topic.Topic Replies: PopIt!Post A Reply
MyPop™ | register | search | faq | forum home


PreviousGo to the next oldest topic in this forum Go to the next newest topic in this forumNext
 friends of ED » friends of ED forums » Back End Blight » Apache on Vista with both IPv4 and IPv6 active

Rating:   Not yet rated
Author Topic:   Apache on Vista with both IPv4 and IPv6 active
mlorenzo
friend of ED
Describes the mood or content of the topic posted Click Here to See the Profile for mlorenzo   Reply With QuoteEdit or Delete MessageReport This Post
Hi, I had no trouble getting Apache to run in Vista Home Premium using the tips found across the web as well as right here. The problem I am having is resolving to localhost. 127.0.0.1 will offer up the It Works! page but no go with localhost.

After scouring the internet for a solution, the only suggestion I have come across that works is to comment out the IPv6 entry in the hosts file - # ::1 localhost

While this works, is this really the best (or only) solution to use?

This doesn't seem like a Vista problem but more a problem with Apache (or more likely a problem with my lack of knowledge on how to configure apache). I installed Win32 Binary including OpenSSL 0.9.8i (MSI Installer)apache 2.2.11 straight from http://httpd.apache.org/download.cgi

Help is appreciated!
Thanks.

Posts: 7 | From: Philadelphia, PA, USA | Registered: 02-02-09
mlorenzo
friend of ED
Describes the mood or content of the topic posted Click Here to See the Profile for mlorenzo   Reply With QuoteEdit or Delete MessageReport This Post
I forgot to mention, that I have purchased 3 books by Mr. Powers:

PHP Solutions
PHP Object Oriented Solutions
Dreamweaver CS4 with CSS AJAX and PHP.

I have only begun with PHP Solutions and as recommended in chapter 2, I would prefer to install Apache, PHP and MySQL manually and document the process, rather than use an all-in-one installer like XAMMP. (Although Mr. Powers, does recommend the simplicity of the XAMMP install in his Dreamweaver book which makes it tempting to take the easy route).

Posts: 7 | From: Philadelphia, PA, USA | Registered: 02-02-09
David Powers
Author
Describes the mood or content of the topic posted Click Here to See the Profile for David Powers   Reply With QuoteEdit or Delete MessageReport This Post
I have never had any problem with localhost on Vista Business Premium, but localhost is simply an alias for 127.0.0.1, so it doesn't matter if you need to use 127.0.0.1 instead.

Although I have offered a lot of setup assistance over the years, it's impossible for a single person, like myself, to troubleshoot Apache, PHP, MySQL, and phpMyAdmin on the wide range of operating systems used by different people. That's why I recommended XAMPP (or MAMP for a Mac). Both are fine. The all-in-one solutions also have dedicated forums, where many more people are able to help with installation issues. Hopefully, that will leave me free to deal with scripting problems.

David Powers
Author: Essential Guide to Dreamweaver CS4
Author: PHP Solutions & PHP Object-Oriented Solutions
http://foundationphp.com/

Posts: 4331 | From: London, UK | Registered: 12-18-03
mlorenzo
friend of ED
Describes the mood or content of the topic posted Click Here to See the Profile for mlorenzo   Reply With QuoteEdit or Delete MessageReport This Post
Thanks for the response David. I finally traced the problem back to my antivirus solution. ESET NOD32 V3 was the culprit. The solution is to disable protection to the browser (not recommended), edit the hosts file removing the ::1 localhost entry or to use a different antivirus product altogether. NOD32 V4 Beta does not have this problem.
Posts: 7 | From: Philadelphia, PA, USA | Registered: 02-02-09
David Powers
Author
Describes the mood or content of the topic posted Click Here to See the Profile for David Powers   Reply With QuoteEdit or Delete MessageReport This Post
Thanks for that information. I'm also using ESET antivirus v3, and haven't experienced any problems. However, I see that my Hosts file doesn't have an IPv6 entry. I'm not sure whether that's because I deleted it myself or because I bought my Vista computer in January 2007, when Vista was first released.

David Powers
Author: Essential Guide to Dreamweaver CS4
Author: PHP Solutions & PHP Object-Oriented Solutions
http://foundationphp.com/

Posts: 4331 | From: London, UK | Registered: 12-18-03
mlorenzo
friend of ED
Describes the mood or content of the topic posted Click Here to See the Profile for mlorenzo   Reply With QuoteEdit or Delete MessageReport This Post
Hello again... I just wanted to mention that Eset now has v4 available for download from their website free of charge for registered subscribers. You will of course need to provide user name and password that accompanied your purchase. The new version as promised has fixed the problem with IPv6 localhost ::1 and it no longer needs to be removed or commented out to work.

Download Purchased Software

Posts: 7 | From: Philadelphia, PA, USA | Registered: 02-02-09

All times are
Post New TopicNote: Polls are considered new topics.  If you post a poll, it will be created as a new subject in this forum, not as a reply within this topic.Post A Reply
Print Page
Printable
Email a Friend
Email a Friend
Topic Replies: PopIt!
PopIt!
MyPop™
MyPop™
Contacts
Contacts
Administrative Links:
Close Topic
Close
Manage Topic
Manage
Delete Topic
Delete
Admin Options
PreviousGo to the next oldest topic in this forum Go to the next newest topic in this forumNext

Rate Topic:

Hop To:

All content copyright 2001-2010 friends of ED. No reuse without permission.

OpenTopic 3.1.0