www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Long <ml...@infoave.net>
Subject documentation/6697: Modify http://www.apache.org/docs/vhosts/examples.html to deal with port-based name virtualhosts
Date Mon, 16 Oct 2000 14:53:35 GMT

>Number:         6697
>Category:       documentation
>Synopsis:       Modify http://www.apache.org/docs/vhosts/examples.html to deal with port-based
name virtualhosts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Oct 16 08:00:09 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     mlong@infoave.net
>Release:        1.3.14
>Organization:
apache
>Environment:
all
>Description:
Modify http://www.apache.org/docs/vhosts/examples.html

Add example for doing name-based virtual hosting with multiple ports since this isn't very
intuitive. (ie If you don't define the ports with NameVirtualHost it won't work)

NameVirtualHost 1.2.3.4:80
NameVirtualHost 1.2.3.4:8080

<VirtualHost www.site1.com:80>
 ServerName www.site1.com
 DocumentRoot /web/https-site1/
</VirtualHost>

<VirtualHost www.site1.com:8080>
 ServerName www.site1.com
 DocumentRoot /web/https-site1-8080/
</VirtualHost>

<VirtualHost www.site2.com:80>
 ServerName www.site2.com
 DocumentRoot /web/https-site2/
</VirtualHost>

<VirtualHost www.site2.com:8080>
 ServerName www.site2.com
 DocumentRoot /web/https-site2-8080/
</VirtualHost>
>How-To-Repeat:
This solves issue in PR#6695
>Fix:
Incorporate documentation change
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message