× 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.



I will agree IBM's documentation leaves a whole lot to be desired and I have
tried the same setup I used on linux machines but so far no succes with it.
 

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Matt.Haas@xxxxxxxxxxx
Sent: Monday, November 27, 2006 7:56 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] Still having problem

The only thing that jumps out as being wrong is that there's no Listen
directive but since the server actually starts, that shouldn't matter.

Have you tried starting the server with -vv (two lower case V's), making a
request to www.otr.com, and ending the server? This will produce a trace
file that will most likely help you find the problem. Also, I know the
documentation IBM provides for setting up virtual hosts stinks. Have you
tried looking at the documentation at http://httpd.apache.org? It's hands
down much better than what IBM delivered.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Douglas W. Palme
Sent: Sunday, November 26, 2006 9:22 PM
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********************     
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a
message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.