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



Thanks very much for your help!  Your "guess" resolved my issue.  The program 
still doesn't work (Premature end of script headers) but at least now I have 
something to work with.


 -----Original Message-----
From:   Anton Gombkötö [mailto:gombkoetoe@xxxxxxxxxx] 
Sent:   Thursday, April 10, 2003 12:28 PM
To:     Web Enabling the AS400 / iSeries
Subject:        [WEB400] Re: Apache CGI-BIN problem

Hello Eric,

i *guess* that the main error seems to be that you refuse to write
QSYS-filesystem names in UPPERCASE and the last allow doesn't take
place.

i found some other things, too:

5: You don't need +ExecCGI here. Change it back to -ExecCGI.

>   18       RewriteEngine On

18: You don't have a single RewriteRule here, so you could turn it
off, too.

>   20       Alias /cgi-bin /qsys.lib/mylib.lib   

20: Write names of the QSYS-filesystem in uppercase.

>   21       ScriptAliasMatch ^/cgi-bin/(.*) /QSYS.LIB/MYLIB.LIB/&1.pgm

21: Where did you get &1 from? It should be $1!

But that one never gets executed, when i'm right.

>   29
>   30       <Directory /QSYS.LIB/MYLIB.LIB>      
>   31            Order Allow,Deny        
>   32            Allow From all  
>   33            Options +ExecCGI +Includes      
> 34         </Directory> 

I have a "SetHandler cgi-script " also in this context, but i'm not
sure whether it is needed or not.

You might want to forbid direct access to libraries and programs from
the browsers address bar with:

# Deny direct requests for a CGI program
<Location /QSYS.LIB>                       
  order allow,deny                         
  deny from all                            
</Location>

The configs in

/QIBM/ProdData/HTTPA/admin/conf

taught me that...

-- 
Mit freundlichen Grüssen / best regards

Anton Gombkötö
Organisation und Projektleitung

Avenum Technologie GmbH
Wien - Salzburg - Stuttgart

http://www.avenum.com 



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