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



Matt, SSI directives were case sensitive in the classic/original HTTP
server, so that may have something to do with his problem.

-Bob Cozzi
www.RPGxTools.com
If everything is under control, you are going too slow.
- Mario Andretti


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Haas, Matt
Sent: Friday, April 08, 2005 7:55 AM
To: Web Enabling the AS400 / iSeries
Subject: RE: [WEB400] Server Side Includes

Besides the +Includes option, I have the following:

AddOutputFilter INCLUDES .shtml
AddOutputFilter INCLUDES .htm
AddOutputFilter INCLUDES .html
AddOutputFilter INCLUDES .pgm

My HTML pages have things like <!--#include virtual="/navigation1.htm" -->
in them. I see that you have "include virtual" in uppercase. Have you tried
making it lower case? Also, if you're on V5R1 or V5R2, make sure that you've
installed the group PTF's for 5722DG1. There were problems with SSI's in the
initial release of the server.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Larry Bolhuis
Sent: Thursday, April 07, 2005 8:32 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Server Side Includes


We are having problems getting SSI to function. Everything we try the 
SSI seems to be just completely ignored.  I have attached the Apache 
config, the including file and the included file.  Please tell me we 
have done something really simple wrong!!

We have tried adding the +Includes in the <directory> sections and the 
<location> directives to no avail.

 Help!

   - Larry

======================================================================

# Configuration originally created by Create HTTP Server wizard on Fri Mar
11 14:48:40 GMT+00:00 2005
Listen 172.30.0.2:80
DocumentRoot /www/hmcaweb1/htdocs
Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch +Includes -Indexes
-MultiViews
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%{Cookie}n \"%r\" %t" cookie
LogFormat "%{User-agent}i" agent
LogFormat "%{Referer}i -> %U" referer
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log combined
LogMaint logs/access_log 14 0
LogMaint logs/error_log 14 0
NameVirtualHost 172.30.0.2:80
HostNameLookups On
SetEnvIf "User-Agent" "Mozilla/2" nokeepalive
SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0
SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0
SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0
SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive
SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0
AliasMatch ^/QIBM/ProdData/HTTP/Public/lib(.*)
/QIBM/ProdData/HTTP/Public/lib$1
Alias /newuser.html  /QSYS.LIB/WEBHMP.LIB/HTMLSRC.FILE/SY7001E.MBR
ScriptAlias /upduser/ /QSYS.LIB/WEBHMP.LIB/SY7002E.PGM
Alias /Home/index /QSYS.LIB/WEBHMP.LIB/HTMLSRC.FILE/INDEX.MBR 
AliasMatch /Home/(.*)\.html    /QSYS.LIB/WEBHMP.LIB/HTMLSRC.FILE/$1.MBR   
AliasMatch /Home/(.*)\.pgm     /QSYS.LIB/WEBHMP.LIB/$1.pgm
ScriptAliasMatch /cgi-bin(.*) /QSYS.LIB/WEBHMP.LIB$1.PGM       
#AliasMatch ^/tmp(.*) /tmp$1                                  
CGIConvMode %%EBCDIC/EBCDIC%%                                  
#MaxCGIJobs 25                                               
StartCGI 4                                                  
#MaxThreadedCGIJobs 10                                       
#MaxPersistentCGI 10                                         
#ScriptLog /logs/access_log                                  
AddOutputFilter INCLUDES .html
<Location />
   Require valid-user               
   AuthName Services_Protection                  
   ProfileToken on                  
   AuthType Basic                   
   PasswdFile webhmp/inetusr
   ServerUserID WEBUSER01
</Location>
<Location /howard/>
   Require valid-user               
   AuthName ServicesProtection                  
   ProfileToken on                  
   AuthType Basic                   
   PasswdFile webhmp/inetusr
   ServerUserID WEBUSER01
</Location>
<Location /ridge/>
   Require valid-user               
   AuthName ServicesProtection                  
   ProfileToken on                  
   AuthType Basic                   
   PasswdFile webhmp/inetusr
   ServerUserID WEBUSER01
</Location>
<Directory /QSYS.LIB/WEBHMP.LIB>
   Options +ExecCGI +Includes
   Order allow,deny                      
   Allow From All                        
   Require valid-user                    
   AddOutputFilter INCLUDES .html
</Directory>
<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  
   RedirectMatch 301 /Photos/* http://3.4.6.5/*
</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 www2.howard.com
   DocumentRoot /www/hmcaweb1/howard/htdocs
</VirtualHost>
<VirtualHost 172.30.0.2:80>
   ServerName www2.ridge.com
   DocumentRoot /www/hmcaweb1/ridge/htdocs
</VirtualHost>

======================================================================
Here is a piece of the file DOING the include:
======================================================================
</BODY>
<!--***************************************************************-->
<!--***************************************************************-->
<!-          Customer Service MENU LINE SECTION                    -->
<!--***************************************************************-->

<TABLE WIDTH="100%" BGCOLOR="#FFF8DC"> <TR VALIGN="MIDDLE">
<TD width= 20%> </TD>
<TR><TD WIDTH=60%><Font Size=6> Welcome To the Sales Rep               
Page </FONT> <BR>
<TD width= 20%></TD>
</TR>
</TABLE>
<TABLE WIDTH="100%" BGCOLOR="#FFF8DC"> <TR VALIGN="MIDDLE">
 <!-- <TD width= 20%><Font Size=4>You logged on as veldboom</Font></TD>  -->
 <!-- <TD width=20%>Live - Steve   Veldboom</TD>   -->
  <TD width=20%>You have visited 383 times</TD>
  <TD width=20%>Your last visit was on 3/21/2005</TD>
  <TD WIDTH=20% <FONT COLOR ="#E3E3E3" </FONT></TD>
</TABLE>
   <!--#INCLUDE VIRTUAL="/RetailReps.html" -->

</body></html>
=======================================================================
Hre is the file being INCLUDED
=======================================================================
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>RetailReps</TITLE>
<META NAME="ProgId" CONTENT="FrontPage.Editor.Document">
<META NAME="Template" CONTENT="\\Hmcc-02\mso97s\Office\html.dot">
</HEAD>
<BODY LINK="#0000ff" VLINK="#800080">

<BGSOUND SRC="gunshot.wav">

<B><FONT FACE="Arial" SIZE=6 COLOR="#0000ff"><P ALIGN="CENTER">CURRENT 
PROMOTIONS</P></B></FONT>
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7 WIDTH=902>
<TR><TD WIDTH="52%" VALIGN="TOP">
<B><FONT FACE="Arial" SIZE=4><P>Market Specials / Ad of the Quarter</B> 
</FONT><B><FONT FACE="Arial" SIZE=2 COLOR="#ff0000">(EXPIRES 
3-31-05)</B></FONT></TD>
<TD WIDTH="3%" VALIGN="TOP">
<P>&nbsp;</TD>
<TD WIDTH="45%" VALIGN="TOP">
<B><FONT FACE="Arial" SIZE=4><P>Partnership Special</B> </FONT><B><FONT 
FACE="Arial" SIZE=2 COLOR="#ff0000">(EXPIRES 3-31-05)</B></FONT></TD>
</TR>
<TR><TD WIDTH="52%" VALIGN="TOP">
<B><FONT FACE="Arial" SIZE=4><P>Tabletop </FONT><FONT FACE="Arial" 
SIZE=2 COLOR="#ff0000">(EXPIRES 7-31-05)</B></FONT></TD>
<TD WIDTH="3%" VALIGN="TOP">&nbsp;</TD>
<TD WIDTH="45%" VALIGN="TOP">
<B><FONT FACE="Arial" SIZE=4><P>Moving Sale</B> </FONT><B><FONT 
FACE="Arial" SIZE=2 COLOR="#ff0000">(EXPIRES 4-10-05)</B></FONT></TD>
</TR>
<TR><TD WIDTH="52%" VALIGN="TOP">
<B><FONT FACE="Arial" SIZE=4><P>Closeout Specials</B> </FONT><B><FONT 
FACE="Arial" SIZE=2 COLOR="#ff0000">(While Quantities Last)</B></FONT></TD>
<TD WIDTH="3%" VALIGN="TOP">&nbsp;</TD>
<TD WIDTH="45%" VALIGN="TOP">&nbsp;</TD>
</TR>
</TABLE>

<P ALIGN="CENTER">&nbsp;</P>
<B><FONT FACE="Arial" SIZE=6 COLOR="#0000ff"><P ALIGN="CENTER">CURIO 
CONTEST!!</P>
</FONT><FONT FACE="Arial" SIZE=4><P ALIGN="CENTER">Contest runs through 
April 31, 2005.</P>
<P ALIGN="CENTER">**2 winners from <U>each</U> Division!**</P>
<P ALIGN="CENTER">Largest % Increase and Largest Sales Dollar Increase!</P>
<P ALIGN="CENTER">Let's crank up some curio sales!!!</P></B></FONT></BODY>
</HTML>
=======================================================================

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


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


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

Follow-Ups:
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.