Most likely need to use a Regular Expression instead of a*.

A quick google found me this:
https://stackoverflow.com/questions/10889454/is-apache2-httpd-location-tag-a-wildcard-match



Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #17: Compatible with Google/Gmail/G Suite,
Outlook.com, Microsoft Office 365 as well as most other SMTP servers
and relays. No tricks, gimmicks or relays needed. MAILTOOL is set up
just like a PC or mobile device with the appropriate outgoing mail
router information and well as the proper authentication.

On Wed, Jul 26, 2017 at 12:40 PM, Dean Eshleman
<Dean.Eshleman@xxxxxxxxxxxx> wrote:
Hi,

I'm trying to use a wildcard character in my <Location> directive and it doesn't seem to work. According the documentation, I should be able to use an * to match any sequence of characters. So, I tried the following:

<Location "/Get*">
SetEnv QIBM_CGI_LIBRARY_LIST "MYLIB1;MYLIB2;MYLIB3"
</Location>

My URL would look something like http://mysystem.everence.com:1000/GetMyData/xml?parm1=12345. It does not utilize the directives I have within the <Location>. If I change it to the following:

<Location "/GetMyData">
SetEnv QIBM_CGI_LIBRARY_LIST "MYLIB1;MYLIB2;MYLIB3"
</Location>

Then the directives are picked up. What am I missing? This is Apache 2.2 on IBM I 7.1.

Dean Eshleman
Software Development Architect
Everence

1110 North Main Street
PO Box 483
Goshen, IN 46527
(800) 348-7468 ext. 3528
(574) 533-9515 ext. 3528
everence.com<http://www.everence.com/>

______________________________________________________________________
Confidentiality Notice: This information is intended only for the individual or entity named. If you are not the intended recipient, do not use or disclose this information. If you received this e-mail in error, please delete or otherwise destroy it and contact us at (800) 348-7468 so we can take steps to avoid such transmission errors in the future. Thank you.
--
This is the Web Enabling the IBM i (AS/400 and 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.