Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3340C11425 for ; Fri, 13 Jun 2014 12:17:05 +0000 (UTC) Received: (qmail 95500 invoked by uid 500); 13 Jun 2014 12:17:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 95462 invoked by uid 500); 13 Jun 2014 12:17:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 95452 invoked by uid 99); 13 Jun 2014 12:17:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2014 12:17:01 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of panks00@gmail.com designates 209.85.219.46 as permitted sender) Received: from [209.85.219.46] (HELO mail-oa0-f46.google.com) (209.85.219.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2014 12:16:59 +0000 Received: by mail-oa0-f46.google.com with SMTP id m1so2776175oag.33 for ; Fri, 13 Jun 2014 05:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xW/Fr1Q6cnG7YlBbknfTjeBVReNAbpW7ajdpcnOWcRQ=; b=GfRsz3jRuQrReOsfEgwVk3mWXMRHhU9CUaEnWd8P1oyvLm+rsy4W2778X2wICxG1Pm LbSkTb+VHO3voBGLUTkTZJcQR946vZSSnv7xF3+h96Z0TbkFaFt0H90lbc1RoqsAy+KX T4m0UlWfV3AVbZzQ0zFYC4bKRGhfRP8vi0mhnARZSBdUh3C3Tb1Sn3XJZ8WAA2dDi8lh 0h/78HH/+sIfkP73r1yOrSk15jzUiMsBgM5c6nEkmCbKKwMWEQEZWi59IzWDsvUwXEMY WZmYV0pEhrk8md3TgLUx7Pa1/jfC4lG/gVNk7l5yNa8QjdKtRpomH95VjONUPtDxTl2a CyYw== MIME-Version: 1.0 X-Received: by 10.182.125.99 with SMTP id mp3mr2455028obb.40.1402661794064; Fri, 13 Jun 2014 05:16:34 -0700 (PDT) Received: by 10.76.34.163 with HTTP; Fri, 13 Jun 2014 05:16:33 -0700 (PDT) In-Reply-To: <20140613010401.14B3E8521AF@mailbox.deltronix.net> References: <539A1EB1.3050703@christopherschultz.net> <20140613010401.14B3E8521AF@mailbox.deltronix.net> Date: Fri, 13 Jun 2014 17:46:33 +0530 Message-ID: From: Pankaj Singh To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=089e0122f628f9ae1a04fbb6a5f7 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users] Case Insensitive URL --089e0122f628f9ae1a04fbb6a5f7 Content-Type: text/plain; charset=UTF-8 You can use the following code in your .htaccess file; RewriteEngine on RewriteMap lower int:tolower RewriteCond ${lower:%{REQUEST_URI}} -U RewriteRule [A-Z] ${lower:%{REQUEST_URI}} [R=302,L] On Fri, Jun 13, 2014 at 6:33 AM, P. Guethlein wrote: > Ubuntu 12.04 LTS Apache 2.2.22 > > I need to add case insensitive URL's to my server. > > http://www.example.com/PUBLIC/Something.html > > is the same as > > http://www.example.com/public/something.html > > If the html calls an image with the html code, I need that url also to be > case insensitive. > > Can't seem to be able to do this. > > Tried the speling module with "Checkspelling On" and "CheckCaseOnly On" > both in the .conf file for the site and the .htaccess file, tried > difference mod_rewrite settings from the web, etc. and lots of other > options. Tried ciopfs. Seems this should be easier yet nothing seems to > work. > > Open to suggestions ! > > -Pete > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --089e0122f628f9ae1a04fbb6a5f7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
You can use the following code in your .htaccess file;
=
RewriteEngine on
RewriteMap lower int:tolower
RewriteCond ${lower:%{REQUEST_URI}} -U
RewriteRule [A-Z] ${lower:%{REQUEST_URI}} [R=3D302,L]



On Fri, Jun 13, 201= 4 at 6:33 AM, P. Guethlein <peterg@deltronix.com> wrote:<= br>
Ubuntu 12.04 LTS =C2=A0Apache 2.2.22

I need to add case insensitive URL's to my server.

= http://www.example.com/PUBLIC/Something.html

is the same as

= http://www.example.com/public/something.html

If the html calls an image with the html code, I need that url also to be c= ase insensitive.

Can't seem to be able to do this.

Tried the speling module with "Checkspelling On" =C2=A0and "= CheckCaseOnly On" both in the .conf file for the site and the .htacces= s file, tried difference mod_rewrite settings from the web, etc. =C2=A0and = lots of other options. Tried ciopfs. Seems this should be easier yet nothin= g seems to work.

Open to suggestions !

-Pete



-------------------------------------------------------------= --------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


--089e0122f628f9ae1a04fbb6a5f7--