I added the line, it didn't help. Also I have this same protection set up for a 
regular static html file, and for that file it works fine. I think my problem 
lies in the file name, and/or where I should put the protection info. 

Chris

>>> michaelr_41@xxxxxxxxxxxxxx 08/20/04 01:09PM >>>
I think you need UserID %%SERVER%% after your AuthType. pbA needs to
know what user profile to run stuff under. Are you doing this through
the GUI or directly editing your .conf file?

On Fri, 20 Aug 2004 12:54:51 -0500, "Chris Piper" <Cpiper@xxxxxxxxxxxx>
said:
> I am trying to use validation lists, but I  can't get the apache server
> to see the protection. Included is my config file that relates (and is
> currently set up) ...
> 
> the address: https://servername.com/cgibin/po.d2m/input 
> 
> ScriptAlias /cgibin/ /QSYS.LIB/EXTCGIBIN.LIB/DB2WWW.PGM/
> Listen *:443
> <Directory /QSYS.LIB/EXTCGIBIN.LIB/>
>    Order Allow,Deny
>    Allow From all
>    UseCanonicalName Off
>    HostNameLookups Off
>    Options +ExecCGI
>    <FilesMatch po.d2m>
>       AuthName PO
>       AuthType Basic 
>       PasswdFile SMIDATA/VNDLST
>       require valid-user 
>       order deny,allow 
>    </FilesMatch>
> </Directory>
> <VirtualHost *:443>
>    SSLEngine On
>    SSLAppName QIBM_HTTP_SERVER_STANTWWW
>    <FilesMatch po.d2m>
>       AuthName PO
>       AuthType Basic 
>       PasswdFile SMIDATA/VNDLST
>       require valid-user 
>       order deny,allow 
>    </FilesMatch>
> </VirtualHost>
> 
> 
> >>> michaelr_41@xxxxxxxxxxxxxx 08/20/04 12:46PM >>>
> I'd suggest using validation lists rather than htaccess.
> 
> http://as400bks.rochester.ibm.com/iseries/v5r2/ic2924/info/rzaie/rzaievalidlist.htm
>  
> 
> On Fri, 20 Aug 2004 13:37:52 -0400, "Jim McLean" <Jim.McLean@xxxxxxxxxx>
> said:
> > 
> > You should be using a file called ".htaccess"  Check out this link:
> > http://httpd.apache.org/docs/howto/htaccess.html 
> > 
> > 
> > Regards,
> > 
> > Jim McLean
> > jim.mclean@xxxxxxxxxx 
> > (519)252-4415 ext. 502
> > 
> > 
> > |---------+---------------------------->
> > |         |           "Chris Piper"    |
> > |         |           <Cpiper@stantinc.|
> > |         |           com>             |
> > |         |           Sent by:         |
> > |         |           web400-bounces@mi|
> > |         |           drange.com       |
> > |         |                            |
> > |         |                            |
> > |         |           20/08/2004 01:33 |
> > |         |           PM               |
> > |         |           Please respond to|
> > |         |           Web Enabling the |
> > |         |           AS400 / iSeries  |
> > |         |                            |
> > |---------+---------------------------->
> >   
> > >------------------------------------------------------------------------------------------------------------------------------|
> >   |                                                                      
> >                                                          |
> >   |       To:       <web400@xxxxxxxxxxxx>                                
> >                                                          |
> >   |       cc:                                                            
> >                                                          |
> >   |       Subject:  Re: [WEB400] Username passwords                      
> >                                                          |
> >   
> > >------------------------------------------------------------------------------------------------------------------------------|
> > 
> > 
> > 
> > 
> > htaccess
> > 
> > >>> Jim.McLean@xxxxxxxxxx 08/20/04 12:31PM >>>
> > 
> > Are youy using .htaccess or ..htaccess?
> > 
> > 
> > Regards,
> > 
> > Jim McLean
> > jim.mclean@xxxxxxxxxx 
> > (519)252-4415 ext. 502
> > 
> > 
> > |---------+------------------------------------------------->
> > |         |           "Chris Piper" <Cpiper@xxxxxxxxxxxx>   |
> > |         |           Sent by:                              |
> > |         |           web400-bounces+jim.mclean=farrow.com@m|
> > |         |           idrange.com                           |
> > |         |                                                 |
> > |         |                                                 |
> > |         |           20/08/2004 11:29 AM                   |
> > |         |           Please respond to Web Enabling the    |
> > |         |           AS400 / iSeries                       |
> > |         |                                                 |
> > |---------+------------------------------------------------->
> > 
> > >------------------------------------------------------------------------------------------------------------------------------|
> > 
> >   |
> > |
> >   |       To:       <web400@xxxxxxxxxxxx>
> > |
> >   |       cc:
> > |
> >   |       Subject:  [WEB400] Username passwords
> > |
> > 
> > >------------------------------------------------------------------------------------------------------------------------------|
> > 
> > 
> > 
> > 
> > 
> > Another silly question, but how do I protect, user name password required
> > pages. I have tried using the Location and File tags, imbedding the
> > ...htaccess file in the directory and can get nothing to work. We have a
> > page http://servernamehere/cgibin/po.d2m/input, which maps in Apache to
> > QSYS.LIB/EXTCGIBIN.LIB/DB2WWW.PGM/po.d2m/input. When I try to add the
> > user
> > name password protection it never seems to take. I have placed it inside
> > the directory for QSYS.LIB/EXTCGIBIN.LIB/DB2WWW.PGM, outside of it, in a
> > ...htaccess file in the actual folder where the script is stored, and
> > nothing works. Any help would be great.
> > 
> > Thanks, Chris
> > 
> > 
> > _______________________________________________
> > 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.
> > 
> > 
> > 
> > _______________________________________________
> > 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.
> > 
> -- 
>   
>   michaelr_41@xxxxxxxxxxxxxx 
> 
> _______________________________________________
> 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.
> 
-- 
  
  michaelr_41@xxxxxxxxxxxxxx 

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

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.