Apache Rewrite & Alias combined

Posted by Larry on Stack Overflow See other posts from Stack Overflow or by Larry
Published on 2010-05-12T18:27:09Z Indexed on 2010/05/13 3:04 UTC
Read the original article Hit count: 315

Filed under:
|
|

Hello,

We have run into an issue where we have an existing Alias, and we would like to add a rewrite rule to catch all variations of case-insensitive spellings, ie:

URL: http://www.example.com/example

Alias /example "/var/www/html/web/example"

We need a rewrite rule to catch:

/ExamPle

/exampLE

/eXAmple

etc ...

If anyone could help, that would be great! We cannot seem to get the rewrite & Alias to work together.

Thanks and God Bless!

© Stack Overflow or respective owner

Related posts about apache

Related posts about mod-rewrite