Yea, I need to rethink this whole deal. We do have a firewall, and users
get to the 400 via VPN, but there is no DNS or WINS in place for the VPN
users to resolve the host portion of the URL. I may either need to hard
code the IP address of our Apache server into the link, or provide a HOST
table entry for each remote user.

Thanks,

Mark

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


                                                                           
             Shane_Cessna@nal.                                             
             com                                                           
             Sent by:                                                   To 
             web400-bounces@mi         Web Enabling the AS400 / iSeries    
             drange.com                <web400@xxxxxxxxxxxx>               
                                                                        cc 
                                                                           
             04/07/2005 03:01                                      Subject 
             PM                        RE: [WEB400] AliasMatch, and        
                                       MapMatch                            
                                                                           
             Please respond to                                             
             Web Enabling the                                              
              AS400 / iSeries                                              
             <web400@midrange.                                             
                   com>                                                    
                                                                           
                                                                           




Mark,

If you guys have a firewall up, you may need your remote users to have
some kind of VPN access to bypass that...

Shane Cessna
iSeries Programmer
iSeries WAS Administrator
North American Lighting, Inc.
(618) 662-4483 x2776
shane_cessna@xxxxxxx


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.



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




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.