×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Chris,
You are incorrect. This is the point of virtual hosts which allow the
same IP can support multiple multiple servers on the same port. This is
standard apache stuff.
The snippet of apache code here will do what he wants I believe. Note
that the ip addreses and port ar ethe same but are supporting two sites,
'howard' and 'ridge'. Depending on Firewalls and such the IP addresses
may need to be outside IPs. Also a key is that www.howard.com and
www.ridge.com must resolve to the 172.30.0.2 address in the VirtualHost
directive or no go.
- Larry
<Directory /www/hmcaweb1/htdocs>
Order Allow,Deny
Allow From all
Options +ExecCGI
</Directory>
<Directory /www/hmcaweb1/howard/htdocs>
Order Allow,Deny
Allow From all
Options +ExecCGI
</Directory>
<Directory /www/hmcaweb1/ridge/htdocs>
Order Allow,Deny
Allow From all
Options +ExecCGI
</Directory>
<Directory />
Order Deny,Allow
Deny From all
</Directory>
<VirtualHost 172.30.0.2:80>
ServerName www.howard.com
DocumentRoot /www/hmcaweb1/howard/htdocs
</VirtualHost>
<VirtualHost 172.30.0.2:80>
ServerName www.ridge.com
DocumentRoot /www/hmcaweb1/ridge/htdocs
</VirtualHost>
Chris Bipes wrote:
First off they must run on separate IP addresses if they are going to use
the same port. So you must give your AS400 two separate IP addresses and
bind each page to one of the addresses.
-----Original Message-----
Everyone, I know this is a redundant question but I honestly don't know
that right search words to get my answer and I did try. I know I've
seen it discussed here before. Can anyone give me a sample apache
config of how to set up multiple web sites under one apache web instance
running on http default port 80. Example. www.company1.com
www.company2.com etc. all running under one instance on port 80. Please
help and once again sorry for the redundant question.
--
Larry Bolhuis IBM eServer Certified Systems Expert:
Vice President iSeries Technical Solutions V5R3
Arbor Solutions, Inc. iSeries LPAR Technical Solutions V5R3
1345 Monroe NW Suite 259 iSeries Linux Technical Solutions V5R3
Grand Rapids, MI 49505 iSeries Windows Integration Technical
Solutions V5R3
IBM eServer Certified Systems Specialist
(616) 451-2500 iSeries System Administrator for
OS/400 V5R3
(616) 451-2571 - Fax AS/400 RPG IV Developer
(616) 260-4746 - Cell iSeries System Command Operations V5R2
If you can read this, thank a teacher....and since it's in English,
thank a soldier.
As an Amazon Associate we earn from qualifying purchases.
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.