Scott

here is from the apache documentation

*Syntax:* <http://httpd.apache.org/docs/1.3/mod/directive-dict.html#Syntax>
AliasMatch *regex file-path*|*directory-path*

On Mon, Feb 6, 2012 at 7:27 PM, Scott Klement <web400@xxxxxxxxxxxxxxxx>wrote:

hi Jon,

Alias or ScriptAlias does not allow regular expressions.

That's why AliasMatch and ScriptAliasMatch exist. The only difference
between them is that the 'Match' varieties support regular expressions.
The trade-off is performance, when I first started working with
Apache, I was told to use the 'Match' keywords sparingly because the
extra overhead of doing RE processing on every URL was significant.

Granted, that was in the mid-90s, so perhaps that's not an issue today?

Not sure. My I still avoid AliasMatch/ScriptAliasMatch as much as I can.


On 2/6/2012 12:16 PM, Jon Paris wrote:

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

--
This is the Web Enabling the AS400 / 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 ...

Follow-Ups:
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.