× 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've been working on this and basically I scrapped the configuration the IBM
conversion tool created and started over.  Now I can get pages from my
DocumentRoot, I can get files from QDLS, and I can get pages from my CGI
libraries... as long as they do not have QUERY_STRING parameters.  And
sometimes, almost at random, it seems like POST parameters are not being
recognized either.

I was able to change combine some of the statements, so this is what I have
now.

Listen 1550
DocumentRoot /www/vamaweb/htdocs
DefaultType text/plain
Options None
ErrorLog logs/basic_error_log
LogLevel warn
DirectoryIndex default.html
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%{User-agent}i" agent
LogFormat "%{Referer}i -> %U" referer
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log combined
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "MSIE 4\.0b2;" nokeepalive force-response-1.0
RewriteEngine on
ScriptAliasMatch ^/cgi-bin(.*) /QSYS.LIB/CGILIB.LIB/$1.PGM
ScriptAliasMatch ^/members(.*) /QSYS.LIB/CGILIB2.LIB/$1.PGM
AliasMatch /files/(.*) /QDLS/VAMANET/$1
<Directory />
   AllowOverride None
   order deny,allow
   deny from all
</Directory>
<Directory /www/vamaweb/htdocs>
   AllowOverride None
   order allow,deny
   allow from all
</Directory>
<Directory /QDLS/VAMANET/>
   AllowOverride None
   order allow,deny
   allow from all
</Directory>
<Directory /QSYS.LIB/CGILIB.LIB/>
   AllowOverride None
   order allow,deny
   allow from all
</Directory>
<Directory /QSYS.LIB/CGILIB2.LIB/>
   AllowOverride None
   order allow,deny
   allow from all
</Directory>


If anyone has any ideas or suggestions I would be most appreciative.

Thanks and have a great weekend!

Joel R. Cochran
Director of Internet Services
VamaNet.com
(800)480-8810
mailto:webmaster@vamanet.com


> -----Original Message-----
> From: Raul A Jager [mailto:raul@abc.com.py]
> Sent: Thursday, May 30, 2002 7:15 PM
> To: web400@midrange.com
> Subject: Re: [WEB400] Apache Configuration
>
>
> In your first "AliasMatch" you are writing /website/ in front of
> everything.  You can use "DocumentRoot" in place of that AliasMatch
>
> Raul
> ______________________________________
> "Joel R. Cochran" wrote:
>
> > I finally got Apache up and running on my 270, but I appear
> to be having
> > some configuration problems.
> >
> > When I try to access a CGI page, I get a 403 error.  The
> log hows the
> > following error:
> > [error] [client 192.168.1.1] ZSRV_MSG0362: Client denied by server
> > configuration: /website/QSYS.LIB
> >
> > My configuration (for CGI) is as follows:
> >
> > RewriteEngine On
> > RewriteRule ^/cgi-bin/(.*)$ /QSYS.LIB/CGILIB.LIB/$1.PGM
> > RewriteRule /(.*) /$1 [PT]
> > AliasMatch ^/(.*)$ /website/$1
> > AliasMatch ^/website/(.*)$ /website/$1
> > ScriptAliasMatch ^/QSYS\.LIB/CGILIB\.LIB/(.*)\.PGM$
> > /QSYS.LIB/CGILIB.LIB/$1.PGM
> > <Directory />
> >    Options None
> >    AllowOverride None
> >    Order deny,allow
> >    Deny from all
> >    <LimitExcept GET HEAD OPTIONS TRACE POST >
> >    </LimitExcept>
> > </Directory>
> > <Directory /website/*>
> >    Order allow,deny
> >    require valid-user
> >    require valid-user
> >    AuthName "VamaNet Users"
> >    ProfileToken off
> >    AuthType Basic
> >    Options -Indexes
> >    UserID %%SERVER%%
> >    AlwaysDirectoryIndex On
> >    DirectoryIndex index.html
> > </Directory>
> > <Directory /QSYS.LIB/CGILIB.LIB/*.PGM>
> >    Options +ExecCGI
> >    SetOutputFilter INCLUDES
> >    AuthName "VamaNet Users"
> >    AuthType Basic
> >    ProfileToken off
> >    Order allow,deny
> >    Allow from All
> >    UserID %%SERVER%%
> > </Directory>
> >
> > Does anyone see the problem?
> >
> > TIA,
> >
> > Joel R. Cochran
> > Director of Internet Services
> > VamaNet.com
> > (800)480-8810
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> 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.