Jon - your modified directive should be fine - and you can use a different text in the RE - so you could have something that conceals your underlying structure, such as

ScriptAliasMatch /apptext/start(.*) etc.

As I'd mentioned in the other post, I don't know if you need the carat at the start of the pattern, this might amount to the same thing - this is probably an absolute reference to the start of DocumentRoot - others will know better, I'm sure.

Vern

On 2/6/2012 12:16 PM, Jon Paris wrote:
On Feb 6, 2012, at 1:00 PM, web400-request@xxxxxxxxxxxx wrote:

# CGI PEXTCD2LIB User CGI Library
ScriptAliasMatch /pextCD2lib/(.*).pgm /qsys.lib/pextCD2lib.lib/$1.pgm

Thanks Henrik - I'm familiar with that usage - I though it would apply to ScriptAlias also.

I realize now that when I first tried this syntax it was as part of my screwed up config. I'll try it again and see what happens. I don't want to use the .pgm type notation in the URL but I can't see why it wouldn't work without it. The other thing I need it to do is to accept a partial name - so to modify your example what I'm after is:

ScriptAliasMatch /pextCD2lib/start(.*) /qsys.lib/pextCD2lib.lib/start$1.pgm

Jon Paris

www.partner400.com
www.SystemiDeveloper.com





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.