-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Cheers,
Alan Treece wrote:
> As the Subject: line states I'm in the middle of converting a larger
> Perl application to a Struts web-app running on the SUNWappserver. The
> question was posed as to how to deal with all of the folks who may have
> "bookmarked" a perl URL to the old app. I don't want to just cut those
> folks off when the switch is made.
>
> Are there any tricks folks have used to deal with this scenario? The
> goal is to turn off the perl app and start the Struts web-app with the
> same server name and port.
i had to turn off an php-application. If you are using the apache httpd
before the appserver i recommend rewriting within the vhost, for example:
RewriteCond %{QUERY_STRING}
^(feat=2&loc=reviews|loc=reviews&feat=2)&id=([0-9]+)$
RewriteRule ^/index.php$
http://www.possessed.de/details.do?content=0&id=%2 [L,R=301]
This works for Apache 1.3.x. Maybe there is similar for other
webservers, but i don't.
Hope that helps.
Regards,
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEagJukv8rKBUE/T4RAlo8AJ4+AJwnmeoHsROMD7oXpg5bAHtdXgCeNSoB
uNXxm9OTmDZJabrzDYq76rI=
=RXhc
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]