[TAG] Apache -- Redirect if found this "Regex"
Smile Maker
britto_can at yahoo.com
Thu Jun 19 17:24:05 MSD 2008
This example works
Thanks Thomas
--
Britto
--- On Thu, 6/19/08, Thomas Bonham <thomasbonham at bonhamlinux.org> wrote:
From: Thomas Bonham <thomasbonham at bonhamlinux.org>
To: TAG <tag at lists.linuxgazette.net>
Subject: Re: [TAG] Apache -- Redirect if found this "Regex"
To: britto_can at yahoo.com, "The Answer Gang" <tag at lists.linuxgazette.net>
Date: Thursday, June 19, 2008, 5:26 PM
Smile Maker wrote:
> Folks:
>
> I have recently upgraded all of my jsp's to php's and pointed my
rr
> to the new server.But for the backward compatibility How do i say to
> apache "if it finds request for any "jsp " go to this php
page"
>
Try something like this line here.
Redirect 301 /howto.jsp http://yourdomain.org/howto/index.php
Just create a new file in your conf.d directory(redirect.conf is what I
use) put your information in it and then just restart apache.
Thomas
+-+--------------------------------------------------------------------+-+
You've asked a question of The Answer Gang, so you've been sent the
reply
directly as a courtesy. The TAG list has also been copied. Please send
all replies to tag at lists.linuxgazette.net, so that we can help our other
readers by publishing the exchange in our monthly Web magazine:
Linux Gazette (http://linuxgazette.net/)
+-+--------------------------------------------------------------------+-+
_______________________________________________
TAG mailing list
TAG at lists.linuxgazette.net
http://lists.linuxgazette.net/mailman/listinfo/tag
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxgazette.net/mailman/private/tag/attachments/20080619/6b0538d1/attachment.htm
More information about the TAG
mailing list