Hi,
 
While I am new to virtual host entries, I've been reading a lot of
material on it, and wanted to run a change I need to make by all of you,
and see if I'm on track.
 
I have 3 *HTTP instances running in QHTTPSVR.  I need #2 and #3
instances to use port 80 as well, and it seems that a Name-Based Virtual
Host is what I need.  All 3 instances run fine on the ports they are
currently configured on.  All I want to do is change them to port 80.

Instance:
#1. runs on port 80, and has been for years.
#2. no static pages/content
#3. portal software, has no static pages/content - dynamically driven
by software
 
If I add the following lines between # start and # end, to Instance #2
and #3, should this work for my situation?
 
# start name virtual hosts
# external IP
NameVirtualHost 111.111.111.111:80
# internal IP
NameVirtualHost 192.168.1.111:80
 
<VirtualHost 192.168.1.111:80 111.111.111.111:80>
   ServerName www.alfa.com
</VirtualHost>
# end
 
Is there a recommended spot in the configuration file to place these
lines? After or before anything?
 
Is there anything that is required that I'm missing?
 
Do I need to remove the Listen command from the 2 instances I change?
 
If I leave the Listen command, will it serve content over both ports?

 
Do I need to include the port numbers with the IP addresses on the
VirtualHost tag?
 
Thank you and Best Regards,
Jeff



**********************************************************************************************
If the reader of this email is not the intended recipient(s), please be advised 
that any dissemination, distribution or copying of this information is strictly 
prohibited. Johnson Matthey PLC has its main place of business at 2-4 Cockspur 
Street, London (020 7269 8400). Whilst Johnson Matthey aims to keep its network 
free from viruses you should note that we are unable to scan certain emails, 
particularly if any part is encrypted or password-protected, and accordingly 
you are strongly advised to check this email and any attachments for viruses. 
The company shall NOT ACCEPT any liability with regard to computer viruses 
transferred by way of email.

Please note that your communication may be monitored in accordance with Johnson 
Matthey internal policy documentation.
**********************************************************************************************

This message has been scanned for viruses by MailControl - www.mailcontrol.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.