×
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.
Jon
We use
ScriptAliasMatch ^/IMAGESERVER/(.*) /QSYS.LIB/RJSIMAGE.LIB/$1.PGM
in our product - the caret (^) means the beginning of whatever follows
the IP address and optional port. The bit in parentheses establishes a
replacement value for later, specified by a dollar-sigh ($) and an
ordinal that corresponds to its position in the string.
(Maybe the caret is superfluous - I've seen an example of Alias that, of
course, would not have the caret, and that has me wondering.)
The URL for the above could be
http://ourIPaddress:port/imageserver/vernspgm?name=vern&date=11/22/2009
This would call program VERNSPGM in library RJSIMAGE and there are 2 CGI
variables involved.
Does that help? Does it [Alias]Match what you need?
There is also an Alias directive that doesn't use regular expressions at
all - it's essentially hard-coded.
Is this for CGI? Then ScriptAliasMatch is the thing, because I think
AliasMatch is for non-scripting - yes, I just read that the "Script"
versions "designate the target as a CGI script."
Vern
On 3/2/2011 9:52 AM, Jon Paris wrote:
I cannot find an example of how to AliiasMatch an exact name pattern.
For example - I want to match myserver/jonspgm to qsys.lib/jons.lib/jonspgm.pgm
But it should not match myserver/jonspgm1.php or myserver/jonspgm.php
I thought:
ScriptAliasMatch ^/jonspgm /QSYS.LIB/JONS.LIB/JONSPGM.PGM
would do it as I understood the Apache docs but obviously not as anything that starts with the jonspgm string is being matched.
I guess this reflects my ongoing failure ti understand regex!
Jon Paris
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.