On 29/12/2012 3:12 PM, "Martin, Stanley G" <stanley.mar...@capgemini.com>
wrote:
>
> I have been banging my head against the wall on this and when I think I
finally have it, it doesn’t work.  I’ve been able to get some basic stuff
to work like:
>
>
>
> Setting DirectoryIndex
>
> And doing a simple redirect.
>
>
>
> But, what I really want to do is make the URI cleaner so that the users
don’t see the name of the program.
>
>
>
> If I have a link in my code to:
>
>
>
> /folder1/ServerName1/CustomerA
>
>
>
> I would like them silently redirected to:
>
>
>
> /folder1/detail.php?srv=ServerName1&cust=CustomerA
>
>
In nutshell:

RewriteRule ^/folder1/(.*)/(.*)$ /folder1/detail.php?srv=$1&cust=$2 [L]

>
>
>
> This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient, you
are not authorized to read, print, retain, copy, disseminate, distribute,
or use this message or any part thereof. If you receive this message in
error, please notify the sender immediately and delete all copies of this
message.

Reply via email to