OK. I created a link in a file called test.php: <a href=""> Rewrite log mentions nothing about redirecting to the assetdetail.php page: 10.153.199.5 - - [29/Dec/2012:09:43:02 --0600] [ckcftpa2/sid#26c828][rid#62abb28/initial] (3) [perdir E:/cmdbnew/] strip per-dir prefix: E:/cmdbnew/test.php -> test.php 10.153.199.5 - - [29/Dec/2012:09:43:02 --0600] [ckcftpa2/sid#26c828][rid#62abb28/initial] (3) [perdir E:/cmdbnew/] applying pattern '^/cmdbnew/(.*)/(.*)$' to uri 'test.php' 10.153.199.5 - - [29/Dec/2012:09:43:02 --0600] [ckcftpa2/sid#26c828][rid#62abb28/initial] (1) [perdir E:/cmdbnew/] pass through E:/cmdbnew/test.php 10.153.199.5 - - [29/Dec/2012:09:43:07 --0600] [ckcftpa2/sid#26c828][rid#62b4c08/initial] (3) [perdir E:/cmdbnew/] strip per-dir prefix: E:/cmdbnew/test.php -> test.php 10.153.199.5 - - [29/Dec/2012:09:43:07 --0600] [ckcftpa2/sid#26c828][rid#62b4c08/initial] (3) [perdir E:/cmdbnew/] applying pattern '^/cmdbnew/(.*)/(.*)$' to uri 'test.php' 10.153.199.5 - - [29/Dec/2012:09:43:07 --0600] [ckcftpa2/sid#26c828][rid#62b4c08/initial] (1) [perdir E:/cmdbnew/] pass through E:/cmdbnew/test.php 10.153.199.5 - - [29/Dec/2012:09:43:15 --0600] [ckcftpa2/sid#26c828][rid#61623f0/initial] (3) [perdir E:/cmdbnew/] add path info postfix: E:/cmdbnew/USDADPRTSPW01 -> E:/cmdbnew/USDADPRTSPW01/TPR 10.153.199.5 - - [29/Dec/2012:09:43:15 --0600] [ckcftpa2/sid#26c828][rid#61623f0/initial] (3) [perdir E:/cmdbnew/] strip per-dir prefix: E:/cmdbnew/USDADPRTSPW01/TPR -> USDADPRTSPW01/TPR 10.153.199.5 - - [29/Dec/2012:09:43:15 --0600] [ckcftpa2/sid#26c828][rid#61623f0/initial] (3) [perdir E:/cmdbnew/] applying pattern '^/cmdbnew/(.*)/(.*)$' to uri 'USDADPRTSPW01/TPR' 10.153.199.5 - - [29/Dec/2012:09:43:15 --0600] [ckcftpa2/sid#26c828][rid#61623f0/initial] (1) [perdir E:/cmdbnew/] pass through E:/cmdbnew/USDADPRTSPW01 From: Akash Jain [mailto:akash.delhite@xxxxxxxxx] RewriteRule ^/cmdbnew/(.*)/(.*)$ http://ckcftpa2/cmdbnew/assetdetail.php?srv=$1&cust=$2 [R,L] On Sat, Dec 29, 2012 at 10:02 AM, Martin, Stanley G <stanley.martin@xxxxxxxxxxxxx> wrote: It didn’t work. It’s obvious I subbed in some bogus names, but since I’m trapped behind a firewall and this data isn’t sensitive, my real URl is: http://ckcftpa2/cmdbnew/assetdetail.php?server=Server1&cust=XXX I want them to click on a link that has an href like this: /cmdbnew/Server1/XXX And redirects them to the first one. Head getting flatter. Thanks for the quick first response. _______________________________________________________________________ Stanley Martin System Administrator | IM DCS US Wintel Server Team | Outsourcing Services Capgemini "US" | KCSC Service Center Tel.: (816) 347-7692 – Mob.: (816) 284-7415 777 NW Blue Pkwy Lee's Summit, MO 64086 People matter, results count. _______________________________________________________________________ From: Igor Cicimov [mailto:icicimov@xxxxxxxxx]
RewriteRule ^/folder1/(.*)/(.*)$ /folder1/detail.php?srv=$1&cust=$2 [L] > |