Re: Help with rewrite rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> Date: Wednesday, August 05, 2015 20:55:49 +0530
> From: aparna Puram <aparnapuram@xxxxxxxxx>
>
> Hello All,
> 
> I have specific requirement for a rewirte rule.
> 
> 
> http://localhost/inservice has to be rewrited to
> http://localhost/InSerivce.
> 
> Only the first and 3rd letter has to be caps..and rest all have to
> be lower case. Even if user gives Inservice, it will still have to
> rewite it to InService.
> 
> Request you to help me with this.

You may want to look at the redirect and redirectmatch directives:

  <http://httpd.apache.org/docs/2.4/rewrite/avoid.html>

  <http://httpd.apache.org/docs/2.4/mod/mod_alias.html#redirect>

as they are better for the simple redirection that you are,
seemingly, asking for.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux