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



From: Jon Paris

For example - I want to match myserver/jonspgm to qsys.lib/jons.lib/jonspgm.pgm

On Mar 2, 2011, at 1:00 PM, Kevin Turner wrote:

Third time lucky

ScriptAliasMatch ^/jonspgm$ /QSYS.LIB/JONS.LIB/JONSPGM.PGM Or
ScriptAliasMatch (^/jonspgm$) /QSYS.LIB/JONS.LIB/$1.PGM

See this is where I get confused. From the Apache docs I thought that
if I added the trailing $ then I was saying "followed by anything"
and that would have produced the result I am seeing.

The $ matches end of line. If there is anything after /jonspgm then using $ will not match, and thus not replace with the alias.

Can you provide examples of the URI you expect to have matched? Kevin's first example above matches what I sent this morning. The second example is getting closer to what might be useful if you need to match with something else after /jonspgm in the URI, but it would not include the $ and would need more depending on your goal.
--
Sean Porterfield

This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.

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.