Re: Using modificators with AliasMatch

This is a discussion on Re: Using modificators with AliasMatch within the Apache Web Server forums, part of the Web Server and Related Forums category; Frank Schaare napisał(a): > It seems to be a good idea to use Aliasmatch. But how do i use ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-29-2006
faxe
 
Posts: n/a
Default Re: Using modificators with AliasMatch

Frank Schaare napisał(a):

> It seems to be a good idea to use Aliasmatch. But how do i use the -i
> modificator (which will tell the regex processor to ignore case) with
> AliasMatch ?
>
> I´ve searched the web for several hours and found nothing about it.


It's impossible with AliasMatch, try mod_rewrite whith [NC] flag:
http://mail-archives.apache.org/mod_...l.gmail.com%3E

See docs:
http://httpd.apache.org/docs/2.2/mod...tml#aliasmatch
http://httpd.apache.org/docs/2.2/mod...ml#rewriterule

--
Pozdrawiam / Best regards
Pawel Zdziarski
gmail: faxepl
  #2 (permalink)  
Old 06-29-2006
Xicheng Jia
 
Posts: n/a
Default Re: Using modificators with AliasMatch

Frank Schaare wrote:
> Hi faxe,
>
> > It's impossible with AliasMatch, try mod_rewrite whith [NC] flag:
> > http://mail-archives.apache.org/mod_...l.gmail.com%3E
> >
> >
> > See docs:
> > http://httpd.apache.org/docs/2.2/mod...tml#aliasmatch
> > http://httpd.apache.org/docs/2.2/mod...ml#rewriterule

> impossible is nothing ;-). Meanwhile, i found the solution:
> (?i)^/thisdir(.*) matches any variation of 'thisdir'


you might also try ^/(?i:thisdir)(.*) if you only want no-case with
"thisdir"..

Xicheng

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:21 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0