DeveloperSide.NET Forums
January 24, 2020, 08:01:30 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Building IPv6 enabled Apache2 for windows  (Read 31627 times)
0 Members and 1 Guest are viewing this topic.
Robinski
Member
*
Posts: 8


View Profile
« on: November 03, 2003, 05:51:16 PM »

Maby you could post a guide on how to build the IPv6 enabled version of Apache2 for windows.
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: November 05, 2003, 06:25:26 PM »

Hmmm....

Apache2 already supports IPv6 in most of its directives, like 'Listen'...

The problem is, the underlying OS has to support IPv6 also, but I could be wrong on this point.  Either way, Win2k does not support IPv6, and WinXP has a very BETA upgrade that will give it an IPv6 stack.

From the Apache site...

Quote

IPv6 Support
On systems where IPv6 is supported by the underlying Apache Portable Runtime library, Apache gets IPv6 listening sockets by default. Additionally, the Listen, NameVirtualHost, and VirtualHost directives support IPv6 numeric address strings (e.g., "Listen [fe80::1]:8080").
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Robinski
Member
*
Posts: 8


View Profile
« Reply #2 on: November 05, 2003, 06:37:10 PM »

I finaly managed to do it myself, it seems to run fine unther Windows XP and 2003..

the problem is that you need to patch apache a little
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #3 on: November 05, 2003, 06:44:19 PM »

Care to share what you did?
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #4 on: November 05, 2003, 06:47:18 PM »

Aint apache ipv6 ready? thing it is listen [::]:80 to listen on all ipv6 ips the comp has, i could look it up in my book, but i can't seem to locate it  :oops:
Logged

Robinski
Member
*
Posts: 8


View Profile
« Reply #5 on: November 05, 2003, 06:47:39 PM »

I got the patch from http://win6.jp

httpd-2.0.47-win32-ipv6.zip

there is a diff in this zip

the patch is originaly for 2.0.47 but seems to work fine for 2.0.48 to
for the rest I used your gide for building 2.0.48


If you don't patch it, and enable IPv6 support, it will start, but start running with 100% CPU load, and it seems not to serve any pages.
Logged
Robinski
Member
*
Posts: 8


View Profile
« Reply #6 on: November 05, 2003, 06:50:53 PM »

Quote from: "Jorge"
Aint apache ipv6 ready? thing it is listen [::]:80 to listen on all ipv6 ips the comp has, i could look it up in my book, but i can't seem to locate it  :oops:


you need to do Listen [::]:80 for listening on all IPv6 and aditionaly Listen 0.0.0.0:80 for listening on all IPv4
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #7 on: November 05, 2003, 06:52:41 PM »

ok, found the boek, it doesn't say anything about a patch.
Is there a way to test it like 127.0.0.1 is ipv4, but is there a loop back adress for ipv6?
Logged

Robinski
Member
*
Posts: 8


View Profile
« Reply #8 on: November 05, 2003, 07:55:54 PM »

Quote from: "Jorge"
ok, found the boek, it doesn't say anything about a patch.
Is there a way to test it like 127.0.0.1 is ipv4, but is there a loop back adress for ipv6?


Yes there is ::1  ([::1]), but internet explorer doesn't take this, you need to specify a Hostname...

on my XP box.. localhost goes to [::1] standard

So you can do:  http://localhost to test it.
or try to run more then one IPv6 enabled host.

I have got an IPv6 host setup at: http://ipv6.rharmsen.nl (IPv6 and IPv4)
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #9 on: November 05, 2003, 08:13:02 PM »

so if i add:
Code:
localhost-ipv6 ::1
to my hosts file in %systemroot%/drivers/ect it schould work?
Logged

Robinski
Member
*
Posts: 8


View Profile
« Reply #10 on: November 05, 2003, 08:49:55 PM »

I only enabled IPv6
Code:

netsh interface ipv6 install


and localhost directly points to ::1
try it your self by doing a ping or trace to localhost
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #11 on: November 06, 2003, 02:10:02 PM »

Code:
netsh interface ipv6 install
gives an error  :cry:
Logged

Robinski
Member
*
Posts: 8


View Profile
« Reply #12 on: November 06, 2003, 03:23:54 PM »

Quote from: "Jorge"
Code:
netsh interface ipv6 install
gives an error  :cry:


What windows do you have?
it only works on Windows XP (with advanced networking pack)
and Windows 2003
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #13 on: November 06, 2003, 03:35:37 PM »

I have xp pro sp1 and a few other patches
Logged

Robinski
Member
*
Posts: 8


View Profile
« Reply #14 on: November 06, 2003, 03:41:15 PM »

Quote from: "Jorge"
I have xp pro sp1 and a few other patches


Should work...
what error do you get?
and try this otherwise:
Code:

ipv6 install
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!