|
Hi Douglas, I think (???) you need to have your Directory groups, script aliases etc. in the Virtual Host groups. Also, the IP address should be the internal IP address as opposed to the external IP address associated with the URLs. Regards Paul Tuohy ComCon www.comconadvisor.com -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Douglas W. Palme Sent: 27 November 2006 02:22 To: web400@xxxxxxxxxxxx Subject: [WEB400] Still having problem I am still having a problem getting virtual hosts configured. Below is a copy of our config file. What I need to be able to accomplish here is setting up named based virtual hosting so that we can run two separate domains using the same IP address.....any additional help would be appreciated. ************Beginning of data************** # Apache Default server configuration # General setup directives HotBackup Off #CgiConvMode %%EBCDIC%%/%%EBCDIC%% HostNameLookups On LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referrer}i\" \"%{User-Agent}i\"" Combin CustomLog logs/access_log Combined TimeOut 30000 KeepAlive Off DocumentRoot /www/apachedft/htdocs AddLanguage en .en # Deny most requests for any file <Directory /> Order Allow,Deny Deny From All Options -Indexes -ExecCGI -Includes DirectoryIndex index.shtml index.html </Directory> # Allow requests for files in document root <Directory /www/apachedft/htdocs> order allow,deny allow from all <FilesMatch "\.shtml(\..+)?$"> Options +Includes SetOutputFilter Includes </FilesMatch> </Directory> Listen 80 # Allow requests for files in carr root <Directory /www/apachedft/carr/htdocs> order allow,deny allow from all <FilesMatch "\.shtml(\..+)?$"> Options +Includes SetOutputFilter Includes </FilesMatch> </Directory> <Directory /QSYS.LIB/QCGISRC.LIB> Options +ExecCGI Order Allow,Deny Allow From All </Directory> MapMatch ^/CGI-BIN/(.*) /CGI-BIN/$1.PGM ScriptAliasMatch ^/CGI-BIN/(.*) /QSYS.LIB/QCGISRC.LIB/$1 # name virtual hosts NameVirtualHost 74.225.150.211 <VirtualHost 74.225.150.211> ServerName www.carrtlp.net DocumentRoot /www/apachedft/carr/htdocs DirectoryIndex index.html index.shtml </VirtualHost> <VirtualHost 74.225.150.211> ServerName www.otr.com DocumentRoot /www/apachedft/otr/htdocs </VirtualHost> ************End of Data********************
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.