|
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-d3hNrR/acMxWk0Htik3J/w@xxxxxxxxxxxxxxxx> 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/>
As an Amazon Associate we earn from qualifying purchases.
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.