httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wagner, Aaron" <aaron.wag...@bankofamerica.com>
Subject [users@httpd] rewrite rule to spawn new window for a specific link pattern
Date Tue, 31 Aug 2004 19:13:00 GMT
Server Version: Apache/2.0.48 (Win32) mod_perl/1.99_13-dev Perl/v5.8.3 PHP/4.3.4 
Server Built: Nov 2 2003 23:31:38 
on Win2k
----------------------------
I need a Rewrite rule to spawn new window for a specific link pattern...if that's possible

If have this link and the perameters change;
<a href="/Tools/_CallFlows/CallFlowMain.php?seqnum=1&MasterName=EWAA_Application">

I know that I can write a rule to find the link;
RewriteRule(/Tools/_CallFlows/CallFlowMain.php.*) $1 [R]

but I need to append a 'target="_blank"' to the link to spawn a new window.

I've tried 
ReWriteRule (/Tools/_pagingform/pagingform.php?test=test) $1 target="_blank" [R]
and get an error on restart of apache--
>>>The Apache service named  reported the following error:
>>> RewriteRule: bad flag delimiters     . 

Any help is appreciated

aaron

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message