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



Sorry,

The problem is it doesn't redirect. I want to be able to require a password
from someone connecting from the internet, but not from within my network.
Maybe I'm a bit confused between <Location> and <Directory>.

What we do is send email links do documents on the IFS. Most are sent
within the network, but we do have a few remote folks. My boss thought you
should need a password to be able to connect from the internet, and get the
documents.

Thanks,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


                                                                           
             R Bruce Hoffman                                               
             <bruce.hoffman@is                                             
             eries-admin.net>                                           To 
             Sent by:                  Web Enabling the AS400 / iSeries    
             web400-bounces+mw         <web400@xxxxxxxxxxxx>               
             alter=hanoverwire                                          cc 
             .com@xxxxxxxxxxxx                                             
                                                                   Subject 
                                       RE: [WEB400] AliasMatch, and        
             04/07/2005 02:26          MapMatch                            
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
             Web Enabling the                                              
              AS400 / iSeries                                              
             <web400@midrange.                                             
                   com>                                                    
                                                                           
                                                                           




hmmm.. you didn't say what the problem was...

but... I have never used the location and the aliasmatch in this way.

For system passwords I have always secured the target directory with the
Directory directive and not the Location directive. Don't know if that
makes a difference, but probably worth the try.

Also, you should only need the AliasMatch, not the MapMatch. The
MapMatch is iSeries specific.

Lastly, what about UserID %%SERVER%%?


On Thu, 2005-04-07 at 13:15, MWalter@xxxxxxxxxxxxxxx wrote:
> I'm having a problem matching a location to a directory on my IFS.
>
> Here is my Location directive
>
>
>
>

>     21    <Location /myreports/>

>

>     22         Order Allow,Deny

>

>     23         Allow From All

>

>     24         Require valid-user

>

>     25         PasswdFile %%SYSTEM%%

>

>     26         AuthType Basic

>

>     27         AuthName "Enter AS/400 User Id and Password"

>

>     28    </Location>

>

>
>
>
>
> Here are the Alias and Map directives
>
>
>
>
>
>

>      108    MapMatch ^/myreports/(.*) /intranet/reports/$1

>

>      109    AliasMatch ^/myreports/(.*) /intranet/reports/$1

>

>
>
>
> What did I miss?
>
>
>
> Thanks,
>
> Mark
>
> Mark D. Walter
> Senior Programmer/Analyst
> CCX, Inc.
> mwalter@xxxxxxxxxx
> http://www.ccxinc.com
--
"Bigamy is having one wife too many. Monogamy is the same."
-- Oscar Wilde

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