Thanks for your help, my HTML docs are coming up now.  This forum is 
great!

--- In [email protected], Robert Dunn 
<[EMAIL PROTECTED]> wrote:
>
> Sounds like an alias mapping problem in your apache
> config.  Your call to the rpg program works because
> you have an alias in your apache config that will
> interpret the /cgi-bin/ as a program to execute.  When
> you try using the same /cgi-bin/ with a static html
> file, the alias probably thinks its a program and
> tries to execute.  Without your apache config, it is
> difficult to say for sure.
> 
> You could try something like this:
> 
> http://<myas400>:8014/docs/input1.html
> 
> In you apache config: 
> 
> AliasMatch /docs/(.*)\.htm
> /QSYS.LIB/HTMLIB.LIB/QHTMLSRC.FILE/$1.mbr
> Alias /docs/ /QSYS.LIB/HTMLIB.LIB/QHTMLSRC.FILE/
> 
> The iseries info center and the ibm redbooks site also
> have information on configuring the apache server.
> 
> 
> hth
> 
> Robert Dunn 
> 
> --- dfabianke <[EMAIL PROTECTED]> wrote:
> 
> > I have just started learning CGIDEV2.  I recently
> > created an HTML file 
> > on the AS400 via SEU.  The other things I have
> > created such as simple 
> > Hello programs have worked fine after some help. 
> > The programs that I 
> > have been calling are being call in the following
> > manner. 
> > 
> > http://<myas400>:8014/cgi-bin/replace2
> > 
> > replace2 is an RPGLE program and works fine, but I
> > can't just enter an 
> > HTML file.  It always says file not found.  Example
> > of address that 
> > errors out ---
> > http://<myas400>:8014/cgi-bin/input1.html
> > 
> > I am using an APACHE sever.  Are there any other
> > special things I have 
> > to enter into my configuration file to just call
> > straight HTML files 
> > that are entered via SEU on the AS400.  Also, if I
> > should be using 
> > stream files can anyone point me in a direction that
> > explains stream 
> > files and how they are created.
> > 
> > Thanks in advance for any help!!!!!
> > 
> > 
> > 
> > 
> > 
> 
> 
> 
>               
> __________________________________ 
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/wbFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to