You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/05/06 11:36:10 UTC

DO NOT REPLY [Bug 51159] New: one domain with only on IP is not possible

https://issues.apache.org/bugzilla/show_bug.cgi?id=51159

             Bug #: 51159
           Summary: one domain with only on IP is not possible
           Product: Apache httpd-2
           Version: 2.2.16
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_vhost_alias
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: calidion@gmail.com
    Classification: Unclassified


for a host with multi ips

when we need to implement ip specific domains we are fail to get the right
result

code example:


Server configuration
Listen 80

NameVirtualHost 172.20.30.40

<VirtualHost 172.20.30.40>

DocumentRoot /www/example1
ServerName www.example1.com

</VirtualHost>

<VirtualHost 172.20.30.40>

DocumentRoot /www/example2
ServerName www.example2.org

</VirtualHost>

<VirtualHost 172.20.30.40>

DocumentRoot /www/example3
ServerName www.example3.net

</VirtualHost>

# IP-based
<VirtualHost 172.20.30.50>

DocumentRoot /www/example4
ServerName www.example4.edu

</VirtualHost>

<VirtualHost 172.20.30.60>

DocumentRoot /www/example5
ServerName www.example5.gov

</VirtualHost> 


but we will find whatever server name we request, the server only response
content specified by the first server name, the reset configurations of the
same ip are ignored.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51159] one domain with only on IP is not possible

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51159

Bai Lee <ca...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from Bai Lee <ca...@gmail.com> 2011-05-06 17:19:51 UTC ---
it has been tested by two apache user in more than one situation.

i am wondering if you have checked what i had said before you changed the bug
status.

my request is that 

i only want one specific ip to be bound to my domain, though there is more than
one ip available in the host.

environment information:
1. one os
2. multiple ips available
3. multiple domain available

so here is my configure :

listen ip1:port
listen ip2:port

NameVirtualHost ip1:port
<VirtualHost ip1:port>
servername domain1.com
</VirtualHost >

<VirtualHost ip1:port>
servername domain2.com
</VirtualHost >

as a result,
if we visit domain2.com, we will get the content from domain1.com
and we can never get the content we want by specifying the documentroot.



but if we change the configure file to *:port

domain2.com will work properly, but it's ip will not be specific to ip1.

it is the details.

it would be better to take a test, if you are not sure about it.

please comment if you have any questions.

thanks.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51159] one domain with only on IP is not possible

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51159

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Eric Covener <co...@gmail.com> 2011-05-06 13:17:36 UTC ---
Please seek assistance on the users mailing list until there's evidence of a
bug in Apaceh HTTP Server.  It would help if your first email included
apachectl -S, the request you're testing, and a case for why the result is
incorrect.

http://httpd.apache.org/userslist.html

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51159] one domain with only on IP is not possible

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51159

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Eric Covener <co...@gmail.com> 2011-05-06 18:21:02 UTC ---
Bugzilla is for bugs, not configuration questions or explaining how virtual
hosting works in Apache.  Use the user support mailing list to discuss these
matters.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51159] one domain with only on IP is not possible

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51159

Bai Lee <ca...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #4 from Bai Lee <ca...@gmail.com> 2011-05-06 21:50:12 UTC ---
what makes you think that it is a discuss on how to configure not a bug?

or would you please take a test on what i have said?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51159] one domain with only on IP is not possible

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51159

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Eric Covener <co...@gmail.com> 2011-05-06 22:21:27 UTC ---
Still no bug demonstrated.  Basic virtual hosts work for everybody.  If you
want to discuss it, for the third time, join a mailing list or ask for help on
IRC.

Stop abusing the bugtracking system.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org