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



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


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.