httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steffen Heil" <li...@steffen-heil.de>
Subject AW: [users@httpd] rewrite rule to spawn new window for a specific link pattern
Date Tue, 31 Aug 2004 19:29:09 GMT
Hi

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

no, this is wrong.

You would need to rewrite every link in the apge to contain that part, not
the urls. See:

<a href='test.htm'>
needs to become:
<a href='test.htm' target="_blank">

Your suggestion is:

<a href='test.htm target="_blank"'>

And this would NOT work.

Maybe you can really rewrite the html files that contain these links, when
they are served, but at that point, when you try to step in, it is already
too late.

Regards,
  Steffen


---------------------------------------------------------------------
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