
redirecting index.jsp to its folder
--000e0cdfd7d2a124ce047fac689f
Content-Type: text/plain; charset=ISO-8859-1
Hi,
for the website I'm migrating, all the folders have their welcome page as
index.jsp and that page is in the weblogic.
If I click on any link it's going until the folder but not picking up the
index.jsp. Suppose that I have the below folders, how can I have a generic
rule using Rewrite module for redirecting them to default index.jsp
/ar --> should redirect to /ar/index.jsp
/ar/sample/product-id-sample --> should redirect to
/ar/sample/product-id-sample/index.jsp
/ar/sample/articles-tips --> should redirect to
/ar/sample/articles-tips/index.jsp
/ar/start/getting-started-faqs --> should redirect to
ar/start/getting-started-faqs/index.jsp
/ar/ongoingsupport/all-faqs --> should redirect to
/ar/ongoingsupport/all-faqs/index.jsp
/ar/start/insurance-basics --> should redirect to
ar/start/insurance-basics/index.jsp
/as --> should redirect to /as/index.jsp
/as/start/starting-treatment --> should redirect to
/as/start/starting-treatment/index.jsp
--
Thanks,
--000e0cdfd7d2a124ce047fac689f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<span class=3D"Apple-style-span" style=3D"font-family: Arial, Helvetica, sa=
ns-serif; font-size: 12px; color: rgb(51, 51, 51); ">Hi,<br style=3D"paddin=
g-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; mar=
gin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<br style=3D"padding-top: 0px; padding-right: 0px; padding-bottom: 0px; pad=
ding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; mar=
gin-left: 0px; ">for the website I'm migrating, all the folders have th=
eir welcome page as index.jsp and that page is in the weblogic.<br style=3D=
"padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0=
px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0p=
x; ">
If I click on any link it's going until the folder but not picking up t=
he index.jsp. Suppose that I have the below folders, how can I have a gener=
ic rule using Rewrite module for redirecting them to default index.jsp<br s=
tyle=3D"padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-=
left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0px; ">
<br style=3D"padding-top: 0px; padding-right: 0px; padding-bottom: 0px; pad=
ding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; mar=
gin-left: 0px; ">/ar =A0--> should redirect to /ar/index.jsp<br style=3D=
"padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0=
px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0p=
x; ">
/ar/sample/product-id-sample --> should redirect to /ar/sample/product-i=
d-sample/index.jsp<br style=3D"padding-top: 0px; padding-right: 0px; paddin=
g-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margi=
n-bottom: 0px; margin-left: 0px; ">
/ar/sample/articles-tips --> should redirect to /ar/sample/articles-tips=
/index.jsp<br style=3D"padding-top: 0px; padding-right: 0px; padding-bottom=
: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom=
: 0px; margin-left: 0px; ">
/ar/start/getting-started-faqs --> should redirect to ar/start/getting-s=
tarted-faqs/index.jsp<br style=3D"padding-top: 0px; padding-right: 0px; pad=
ding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; ma=
rgin-bottom: 0px; margin-left: 0px; ">
/ar/ongoingsupport/all-faqs --> should redirect to /ar/ongoingsupport/al=
l-faqs/index.jsp<br style=3D"padding-top: 0px; padding-right: 0px; padding-=
bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-=
bottom: 0px; margin-left: 0px; ">
/ar/start/insurance-basics=A0--> should redirect to ar/start/insurance-b=
asics/index.jsp<br style=3D"padding-top: 0px; padding-right: 0px; padding-b=
ottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-b=
ottom: 0px; margin-left: 0px; ">
/as --> should redirect to /as/index.jsp<br style=3D"padding-top: 0px; p=
adding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px;=
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">/as/start/start=
ing-treatment --> should redirect to /as/start/starting-treatment/index.=
jsp</span><br clear=3D"all">
<br>-- <br>Thanks,<br><br>
--000e0cdfd7d2a124ce047fac689f--
Re: redirecting index.jsp to its folder
--001485e8edded3fdba047facb5ca
Content-Type: text/plain; charset=ISO-8859-1
Don't need redirect have a look at DirectoryIndex directive.
e.g.
DirectoryIndex index.jsp
Igor
On Tue, Feb 16, 2010 at 10:59 AM, Charan <charan314 [at] gmail.com> wrote:
> Hi,
>
> for the website I'm migrating, all the folders have their welcome page as
> index.jsp and that page is in the weblogic.
> If I click on any link it's going until the folder but not picking up the
> index.jsp. Suppose that I have the below folders, how can I have a generic
> rule using Rewrite module for redirecting them to default index.jsp
>
> /ar --> should redirect to /ar/index.jsp
> /ar/sample/product-id-sample --> should redirect to
> /ar/sample/product-id-sample/index.jsp
> /ar/sample/articles-tips --> should redirect to
> /ar/sample/articles-tips/index.jsp
> /ar/start/getting-started-faqs --> should redirect to
> ar/start/getting-started-faqs/index.jsp
> /ar/ongoingsupport/all-faqs --> should redirect to
> /ar/ongoingsupport/all-faqs/index.jsp
> /ar/start/insurance-basics --> should redirect to
> ar/start/insurance-basics/index.jsp
> /as --> should redirect to /as/index.jsp
> /as/start/starting-treatment --> should redirect to
> /as/start/starting-treatment/index.jsp
>
> --
> Thanks,
>
>
--001485e8edded3fdba047facb5ca
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Don't need redirect have a look at DirectoryIndex directive.<code></cod=
e><br><br>e.g.<br>DirectoryIndex index.jsp<br><br>Igor<br><br><div class=3D=
"gmail_quote">On Tue, Feb 16, 2010 at 10:59 AM, Charan <span dir=3D"ltr">&l=
t;<a href=3D"mailto:charan314 [at] gmail.com">charan314 [at] gmail.com</a>></span>=
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span style=3D"fo=
nt-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(51, 51, =
51);">Hi,<br style=3D"margin: 0px; padding: 0px;">
<br style=3D"margin: 0px; padding: 0px;">for the website I'm migrating,=
all the folders have their welcome page as index.jsp and that page is in t=
he weblogic.<br style=3D"margin: 0px; padding: 0px;">
If I click on any link it's going until the folder but not picking up t=
he index.jsp. Suppose that I have the below folders, how can I have a gener=
ic rule using Rewrite module for redirecting them to default index.jsp<br s=
tyle=3D"margin: 0px; padding: 0px;">
<br style=3D"margin: 0px; padding: 0px;">/ar =A0--> should redirect to /=
ar/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/sample/product-id-sample --> should redirect to /ar/sample/product-i=
d-sample/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/sample/articles-tips --> should redirect to /ar/sample/articles-tips=
/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/start/getting-started-faqs --> should redirect to ar/start/getting-s=
tarted-faqs/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/ongoingsupport/all-faqs --> should redirect to /ar/ongoingsupport/al=
l-faqs/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/start/insurance-basics=A0--> should redirect to ar/start/insurance-b=
asics/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/as --> should redirect to /as/index.jsp<br style=3D"margin: 0px; paddin=
g: 0px;">/as/start/starting-treatment --> should redirect to /as/start/s=
tarting-treatment/index.jsp</span><br clear=3D"all"><font color=3D"#888888"=
>
<br>-- <br>Thanks,<br><br>
</font></blockquote></div><br>
--001485e8edded3fdba047facb5ca--
Re: redirecting index.jsp to its folder
--000e0cdf6d8a6e7dec047faeafed
Content-Type: text/plain; charset=ISO-8859-1
Is it possible to use DirectoryIndex eventhough I dont have the index.jsp in
the docroot
On Mon, Feb 15, 2010 at 4:21 PM, Igor Cicimov <icicimov [at] gmail.com> wrote:
> Don't need redirect have a look at DirectoryIndex directive.
>
> e.g.
> DirectoryIndex index.jsp
>
> Igor
>
>
> On Tue, Feb 16, 2010 at 10:59 AM, Charan <charan314 [at] gmail.com> wrote:
>
>> Hi,
>>
>> for the website I'm migrating, all the folders have their welcome page as
>> index.jsp and that page is in the weblogic.
>> If I click on any link it's going until the folder but not picking up the
>> index.jsp. Suppose that I have the below folders, how can I have a generic
>> rule using Rewrite module for redirecting them to default index.jsp
>>
>> /ar --> should redirect to /ar/index.jsp
>> /ar/sample/product-id-sample --> should redirect to
>> /ar/sample/product-id-sample/index.jsp
>> /ar/sample/articles-tips --> should redirect to
>> /ar/sample/articles-tips/index.jsp
>> /ar/start/getting-started-faqs --> should redirect to
>> ar/start/getting-started-faqs/index.jsp
>> /ar/ongoingsupport/all-faqs --> should redirect to
>> /ar/ongoingsupport/all-faqs/index.jsp
>> /ar/start/insurance-basics --> should redirect to
>> ar/start/insurance-basics/index.jsp
>> /as --> should redirect to /as/index.jsp
>> /as/start/starting-treatment --> should redirect to
>> /as/start/starting-treatment/index.jsp
>>
>> --
>> Thanks,
>>
>>
>
--
Thanks,
Charan
--000e0cdf6d8a6e7dec047faeafed
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Is it possible to use DirectoryIndex eventhough I dont have the index.jsp i=
n the docroot<div><br><br><div class=3D"gmail_quote">On Mon, Feb 15, 2010 a=
t 4:21 PM, Igor Cicimov <span dir=3D"ltr"><<a href=3D"mailto:icicimov [at] gm=
ail.com">icicimov [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Don't need redirect have a look at Dire=
ctoryIndex directive.<code></code><br><br>e.g.<br>DirectoryIndex index.jsp<=
br>
<font color=3D"#888888"><br>Igor</font><div><div></div><div class=3D"h5"><b=
r><br><div class=3D"gmail_quote">On Tue, Feb 16, 2010 at 10:59 AM, Charan <=
span dir=3D"ltr"><<a href=3D"mailto:charan314 [at] gmail.com" target=3D"_blan=
k">charan314 [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left:1px solid rgb(204, 2=
04, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><span style=3D"font-fam=
ily:Arial,Helvetica,sans-serif;font-size:12px;color:rgb(51, 51, 51)">Hi,<br=
style=3D"margin:0px;padding:0px">
<br style=3D"margin:0px;padding:0px">for the website I'm migrating, all=
the folders have their welcome page as index.jsp and that page is in the w=
eblogic.<br style=3D"margin:0px;padding:0px">
If I click on any link it's going until the folder but not picking up t=
he index.jsp. Suppose that I have the below folders, how can I have a gener=
ic rule using Rewrite module for redirecting them to default index.jsp<br s=
tyle=3D"margin:0px;padding:0px">
<br style=3D"margin:0px;padding:0px">/ar =A0--> should redirect to /ar/i=
ndex.jsp<br style=3D"margin:0px;padding:0px">
/ar/sample/product-id-sample --> should redirect to /ar/sample/product-i=
d-sample/index.jsp<br style=3D"margin:0px;padding:0px">
/ar/sample/articles-tips --> should redirect to /ar/sample/articles-tips=
/index.jsp<br style=3D"margin:0px;padding:0px">
/ar/start/getting-started-faqs --> should redirect to ar/start/getting-s=
tarted-faqs/index.jsp<br style=3D"margin:0px;padding:0px">
/ar/ongoingsupport/all-faqs --> should redirect to /ar/ongoingsupport/al=
l-faqs/index.jsp<br style=3D"margin:0px;padding:0px">
/ar/start/insurance-basics=A0--> should redirect to ar/start/insurance-b=
asics/index.jsp<br style=3D"margin:0px;padding:0px">
/as --> should redirect to /as/index.jsp<br style=3D"margin:0px;padding:=
0px">/as/start/starting-treatment --> should redirect to /as/start/start=
ing-treatment/index.jsp</span><br clear=3D"all"><font color=3D"#888888">
<br>-- <br>Thanks,<br><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>Thanks,<br>=
Charan <br>
</div>
--000e0cdf6d8a6e7dec047faeafed--
Re: redirecting index.jsp to its folder
--0016e6498a5c3098e3047faf8b6f
Content-Type: text/plain; charset=ISO-8859-1
http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryi ndex
On Tue, Feb 16, 2010 at 1:42 PM, Charan <charan314 [at] gmail.com> wrote:
> Is it possible to use DirectoryIndex eventhough I dont have the index.jsp
> in the docroot
>
>
> On Mon, Feb 15, 2010 at 4:21 PM, Igor Cicimov <icicimov [at] gmail.com> wrote:
>
>> Don't need redirect have a look at DirectoryIndex directive.
>>
>> e.g.
>> DirectoryIndex index.jsp
>>
>> Igor
>>
>>
>> On Tue, Feb 16, 2010 at 10:59 AM, Charan <charan314 [at] gmail.com> wrote:
>>
>>> Hi,
>>>
>>> for the website I'm migrating, all the folders have their welcome page as
>>> index.jsp and that page is in the weblogic.
>>> If I click on any link it's going until the folder but not picking up the
>>> index.jsp. Suppose that I have the below folders, how can I have a generic
>>> rule using Rewrite module for redirecting them to default index.jsp
>>>
>>> /ar --> should redirect to /ar/index.jsp
>>> /ar/sample/product-id-sample --> should redirect to
>>> /ar/sample/product-id-sample/index.jsp
>>> /ar/sample/articles-tips --> should redirect to
>>> /ar/sample/articles-tips/index.jsp
>>> /ar/start/getting-started-faqs --> should redirect to
>>> ar/start/getting-started-faqs/index.jsp
>>> /ar/ongoingsupport/all-faqs --> should redirect to
>>> /ar/ongoingsupport/all-faqs/index.jsp
>>> /ar/start/insurance-basics --> should redirect to
>>> ar/start/insurance-basics/index.jsp
>>> /as --> should redirect to /as/index.jsp
>>> /as/start/starting-treatment --> should redirect to
>>> /as/start/starting-treatment/index.jsp
>>>
>>> --
>>> Thanks,
>>>
>>>
>>
>
>
> --
> Thanks,
> Charan
>
--0016e6498a5c3098e3047faf8b6f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<a href=3D"http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex=
">http://httpd.apache.org/docs/2.2/mod/mod_dir.html#director yindex</a><br><=
br><div class=3D"gmail_quote">On Tue, Feb 16, 2010 at 1:42 PM, Charan <span=
dir=3D"ltr"><<a href=3D"mailto:charan314 [at] gmail.com">charan314 [at] gmail.com=
</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is it possible to=
use DirectoryIndex eventhough I dont have the index.jsp in the docroot<div=
>
<div><div></div><div class=3D"h5"><br><br><div class=3D"gmail_quote">On Mon=
, Feb 15, 2010 at 4:21 PM, Igor Cicimov <span dir=3D"ltr"><<a href=3D"ma=
ilto:icicimov [at] gmail.com" target=3D"_blank">icicimov [at] gmail.com</a>></span=
> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Don't need re=
direct have a look at DirectoryIndex directive.<code></code><br><br>e.g.<br=
>
DirectoryIndex index.jsp<br>
<font color=3D"#888888"><br>Igor</font><div><div></div><div><br><br><div cl=
ass=3D"gmail_quote">On Tue, Feb 16, 2010 at 10:59 AM, Charan <span dir=3D"l=
tr"><<a href=3D"mailto:charan314 [at] gmail.com" target=3D"_blank">charan314 [at] =
gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span style=3D"fo=
nt-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(51, 51, =
51);">Hi,<br style=3D"margin: 0px; padding: 0px;">
<br style=3D"margin: 0px; padding: 0px;">for the website I'm migrating,=
all the folders have their welcome page as index.jsp and that page is in t=
he weblogic.<br style=3D"margin: 0px; padding: 0px;">
If I click on any link it's going until the folder but not picking up t=
he index.jsp. Suppose that I have the below folders, how can I have a gener=
ic rule using Rewrite module for redirecting them to default index.jsp<br s=
tyle=3D"margin: 0px; padding: 0px;">
<br style=3D"margin: 0px; padding: 0px;">/ar =A0--> should redirect to /=
ar/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/sample/product-id-sample --> should redirect to /ar/sample/product-i=
d-sample/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/sample/articles-tips --> should redirect to /ar/sample/articles-tips=
/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/start/getting-started-faqs --> should redirect to ar/start/getting-s=
tarted-faqs/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/ongoingsupport/all-faqs --> should redirect to /ar/ongoingsupport/al=
l-faqs/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/start/insurance-basics=A0--> should redirect to ar/start/insurance-b=
asics/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/as --> should redirect to /as/index.jsp<br style=3D"margin: 0px; paddin=
g: 0px;">/as/start/starting-treatment --> should redirect to /as/start/s=
tarting-treatment/index.jsp</span><br clear=3D"all"><font color=3D"#888888"=
>
<br>-- <br>Thanks,<br><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear=3D"all"><br></div></div>-- <br=
>Thanks,<br>Charan <br>
</div>
</blockquote></div><br>
--0016e6498a5c3098e3047faf8b6f--
Re: redirecting index.jsp to its folder
--000e0cdfda1655a8f4047fb05284
Content-Type: text/plain; charset=ISO-8859-1
I tried but that didn't work for me.
One concern I have is how can Apache look for the index.jsp when they are in
a war file which is deployed onto weblogic. Apache can look for files only
under the docroot.
On Mon, Feb 15, 2010 at 7:43 PM, Igor Cicimov <icicimov [at] gmail.com> wrote:
> http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryi ndex
>
>
> On Tue, Feb 16, 2010 at 1:42 PM, Charan <charan314 [at] gmail.com> wrote:
>
>> Is it possible to use DirectoryIndex eventhough I dont have the index.jsp
>> in the docroot
>>
>>
>> On Mon, Feb 15, 2010 at 4:21 PM, Igor Cicimov <icicimov [at] gmail.com> wrote:
>>
>>> Don't need redirect have a look at DirectoryIndex directive.
>>>
>>> e.g.
>>> DirectoryIndex index.jsp
>>>
>>> Igor
>>>
>>>
>>> On Tue, Feb 16, 2010 at 10:59 AM, Charan <charan314 [at] gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> for the website I'm migrating, all the folders have their welcome page
>>>> as index.jsp and that page is in the weblogic.
>>>> If I click on any link it's going until the folder but not picking up
>>>> the index.jsp. Suppose that I have the below folders, how can I have a
>>>> generic rule using Rewrite module for redirecting them to default index.jsp
>>>>
>>>> /ar --> should redirect to /ar/index.jsp
>>>> /ar/sample/product-id-sample --> should redirect to
>>>> /ar/sample/product-id-sample/index.jsp
>>>> /ar/sample/articles-tips --> should redirect to
>>>> /ar/sample/articles-tips/index.jsp
>>>> /ar/start/getting-started-faqs --> should redirect to
>>>> ar/start/getting-started-faqs/index.jsp
>>>> /ar/ongoingsupport/all-faqs --> should redirect to
>>>> /ar/ongoingsupport/all-faqs/index.jsp
>>>> /ar/start/insurance-basics --> should redirect to
>>>> ar/start/insurance-basics/index.jsp
>>>> /as --> should redirect to /as/index.jsp
>>>> /as/start/starting-treatment --> should redirect to
>>>> /as/start/starting-treatment/index.jsp
>>>>
>>>> --
>>>> Thanks,
>>>>
>>>>
>>>
>>
>>
>> --
>> Thanks,
>> Charan
>>
>
>
--
Thanks,
Charan
--000e0cdfda1655a8f4047fb05284
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I tried but that didn't work for me.<div><br></div><div>One concern I h=
ave is how can Apache look for the index.jsp when they are in a war file wh=
ich is deployed onto weblogic. Apache can look for files only under the doc=
root.<br>
<br><div class=3D"gmail_quote">On Mon, Feb 15, 2010 at 7:43 PM, Igor Cicimo=
v <span dir=3D"ltr"><<a href=3D"mailto:icicimov [at] gmail.com">icicimov [at] gmai=
l.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<a href=3D"http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex=
" target=3D"_blank">http://httpd.apache.org/docs/2.2/mod/mod_d ir.html#direc=
toryindex</a><div><div></div><div class=3D"h5"><br><br><div class=3D"gmail_=
quote">
On Tue, Feb 16, 2010 at 1:42 PM, Charan <span dir=3D"ltr"><<a href=3D"ma=
ilto:charan314 [at] gmail.com" target=3D"_blank">charan314 [at] gmail.com</a>></sp=
an> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left:1px solid rgb(204, 2=
04, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Is it possible to use D=
irectoryIndex eventhough I dont have the index.jsp in the docroot<div>
<div><div></div><div><br><br><div class=3D"gmail_quote">On Mon, Feb 15, 201=
0 at 4:21 PM, Igor Cicimov <span dir=3D"ltr"><<a href=3D"mailto:icicimov=
[at] gmail.com" target=3D"_blank">icicimov [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left:1px solid rgb(204, 2=
04, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Don't need redirect=
have a look at DirectoryIndex directive.<code></code><br><br>e.g.<br>
DirectoryIndex index.jsp<br>
<font color=3D"#888888"><br>Igor</font><div><div></div><div><br><br><div cl=
ass=3D"gmail_quote">On Tue, Feb 16, 2010 at 10:59 AM, Charan <span dir=3D"l=
tr"><<a href=3D"mailto:charan314 [at] gmail.com" target=3D"_blank">charan314 [at] =
gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left:1px solid rgb(204, 2=
04, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><span style=3D"font-fam=
ily:Arial,Helvetica,sans-serif;font-size:12px;color:rgb(51, 51, 51)">Hi,<br=
style=3D"margin:0px;padding:0px">
<br style=3D"margin:0px;padding:0px">for the website I'm migrating, all=
the folders have their welcome page as index.jsp and that page is in the w=
eblogic.<br style=3D"margin:0px;padding:0px">
If I click on any link it's going until the folder but not picking up t=
he index.jsp. Suppose that I have the below folders, how can I have a gener=
ic rule using Rewrite module for redirecting them to default index.jsp<br s=
tyle=3D"margin:0px;padding:0px">
<br style=3D"margin:0px;padding:0px">/ar =A0--> should redirect to /ar/i=
ndex.jsp<br style=3D"margin:0px;padding:0px">
/ar/sample/product-id-sample --> should redirect to /ar/sample/product-i=
d-sample/index.jsp<br style=3D"margin:0px;padding:0px">
/ar/sample/articles-tips --> should redirect to /ar/sample/articles-tips=
/index.jsp<br style=3D"margin:0px;padding:0px">
/ar/start/getting-started-faqs --> should redirect to ar/start/getting-s=
tarted-faqs/index.jsp<br style=3D"margin:0px;padding:0px">
/ar/ongoingsupport/all-faqs --> should redirect to /ar/ongoingsupport/al=
l-faqs/index.jsp<br style=3D"margin:0px;padding:0px">
/ar/start/insurance-basics=A0--> should redirect to ar/start/insurance-b=
asics/index.jsp<br style=3D"margin:0px;padding:0px">
/as --> should redirect to /as/index.jsp<br style=3D"margin:0px;padding:=
0px">/as/start/starting-treatment --> should redirect to /as/start/start=
ing-treatment/index.jsp</span><br clear=3D"all"><font color=3D"#888888">
<br>-- <br>Thanks,<br><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear=3D"all"><br></div></div>-- <br=
>Thanks,<br>Charan <br>
</div>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>Thanks,<br>=
Charan <br>
</div>
--000e0cdfda1655a8f4047fb05284--
Re: redirecting index.jsp to its folder
--0016e644ddde02f881047fb0b155
Content-Type: text/plain; charset=ISO-8859-1
So what exactly you are trying to achieve now can you be more specific? I
assume you have already set up the apache to be reverse proxy for the
weblogic application...
Also what does the war file have to do with anything? When you deploy the
app in weblogic, the server explodes (unjar) the war file and creates the
appropriate directory structure for the java application so all the files
are there on the weblogic server. So with the reverse proxy you just map
that file structure to the apache server.
ProxyRequest off
ProxyPass /ar/ http://your-weblogic-server-ip:your-weblogic-port/ar/
ProxyPassReverse /ar/ http://your-weblogic-server-ip:your-weblogic-port/ar/
..
..
<DirectoryMatch /ar/*>
DirectoryIndex index.jsp
# someother directives
.
</Directory>
I guess your set up should look something like this. Could you post the
relevant sections of your config file?
Otherwise if you have to use redirection something like this should work
(not tested):
RewriteEngine On
RewriteRule ^/a([rs])(.*)$ /a$1$2/index.jsp
Igor
On Tue, Feb 16, 2010 at 3:39 PM, Charan <charan314 [at] gmail.com> wrote:
> I tried but that didn't work for me.
>
> One concern I have is how can Apache look for the index.jsp when they are
> in a war file which is deployed onto weblogic. Apache can look for files
> only under the docroot.
>
>
> On Mon, Feb 15, 2010 at 7:43 PM, Igor Cicimov <icicimov [at] gmail.com> wrote:
>
>> http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryi ndex
>>
>>
>> On Tue, Feb 16, 2010 at 1:42 PM, Charan <charan314 [at] gmail.com> wrote:
>>
>>> Is it possible to use DirectoryIndex eventhough I dont have the index.jsp
>>> in the docroot
>>>
>>>
>>> On Mon, Feb 15, 2010 at 4:21 PM, Igor Cicimov <icicimov [at] gmail.com>wrote:
>>>
>>>> Don't need redirect have a look at DirectoryIndex directive.
>>>>
>>>> e.g.
>>>> DirectoryIndex index.jsp
>>>>
>>>> Igor
>>>>
>>>>
>>>> On Tue, Feb 16, 2010 at 10:59 AM, Charan <charan314 [at] gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> for the website I'm migrating, all the folders have their welcome page
>>>>> as index.jsp and that page is in the weblogic.
>>>>> If I click on any link it's going until the folder but not picking up
>>>>> the index.jsp. Suppose that I have the below folders, how can I have a
>>>>> generic rule using Rewrite module for redirecting them to default index.jsp
>>>>>
>>>>> /ar --> should redirect to /ar/index.jsp
>>>>> /ar/sample/product-id-sample --> should redirect to
>>>>> /ar/sample/product-id-sample/index.jsp
>>>>> /ar/sample/articles-tips --> should redirect to
>>>>> /ar/sample/articles-tips/index.jsp
>>>>> /ar/start/getting-started-faqs --> should redirect to
>>>>> ar/start/getting-started-faqs/index.jsp
>>>>> /ar/ongoingsupport/all-faqs --> should redirect to
>>>>> /ar/ongoingsupport/all-faqs/index.jsp
>>>>> /ar/start/insurance-basics --> should redirect to
>>>>> ar/start/insurance-basics/index.jsp
>>>>> /as --> should redirect to /as/index.jsp
>>>>> /as/start/starting-treatment --> should redirect to
>>>>> /as/start/starting-treatment/index.jsp
>>>>>
>>>>> --
>>>>> Thanks,
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Charan
>>>
>>
>>
>
>
> --
> Thanks,
> Charan
>
--0016e644ddde02f881047fb0b155
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
So what exactly you are trying to achieve now can you be more specific? I a=
ssume you have already set up the apache to be reverse proxy for the weblog=
ic application...<br>Also what does the war file have to do with anything? =
When you deploy the app in weblogic, the server explodes (unjar) the war fi=
le and creates the appropriate directory structure for the java application=
so all the files are there on the weblogic server. So with the reverse pro=
xy you just map that file structure to the apache server.<br>
<br>ProxyRequest off<br>ProxyPass /ar/ http://your-weblogic-server-ip:your-=
weblogic-port/ar/<br>ProxyPassReverse /ar/ http://your-weblogic-server-ip:y=
our-weblogic-port/ar/<br>.<br>.<br><DirectoryMatch /ar/*><br>=A0=A0=
=A0=A0=A0 DirectoryIndex index.jsp<br>
=A0=A0=A0=A0=A0 # someother directives<br>=A0=A0=A0=A0=A0 .<br></Directo=
ry><br><br>I guess your set up should look something like this. Could yo=
u post the relevant sections of your config file?<br><br>Otherwise if you h=
ave to use redirection something like this should work (not tested):<br>
<br>RewriteEngine On<br>RewriteRule ^/a([rs])(.*)$ /a$1$2/index.jsp<br><br>=
<br>Igor<br><br><div class=3D"gmail_quote">On Tue, Feb 16, 2010 at 3:39 PM,=
Charan <span dir=3D"ltr"><<a href=3D"mailto:charan314 [at] gmail.com">charan=
314 [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I tried but that =
didn't work for me.<div><br></div><div>One concern I have is how can Ap=
ache look for the index.jsp when they are in a war file which is deployed o=
nto weblogic. Apache can look for files only under the docroot.<div>
<div></div><div class=3D"h5"><br>
<br><div class=3D"gmail_quote">On Mon, Feb 15, 2010 at 7:43 PM, Igor Cicimo=
v <span dir=3D"ltr"><<a href=3D"mailto:icicimov [at] gmail.com" target=3D"_bl=
ank">icicimov [at] gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt=
0pt 0.8ex; padding-left: 1ex;">
<a href=3D"http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex=
" target=3D"_blank">http://httpd.apache.org/docs/2.2/mod/mod_d ir.html#direc=
toryindex</a><div><div></div><div><br><br><div class=3D"gmail_quote">
On Tue, Feb 16, 2010 at 1:42 PM, Charan <span dir=3D"ltr"><<a href=3D"ma=
ilto:charan314 [at] gmail.com" target=3D"_blank">charan314 [at] gmail.com</a>></sp=
an> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is it possible to=
use DirectoryIndex eventhough I dont have the index.jsp in the docroot<div=
>
<div><div></div><div><br><br><div class=3D"gmail_quote">On Mon, Feb 15, 201=
0 at 4:21 PM, Igor Cicimov <span dir=3D"ltr"><<a href=3D"mailto:icicimov=
[at] gmail.com" target=3D"_blank">icicimov [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Don't need re=
direct have a look at DirectoryIndex directive.<code></code><br><br>e.g.<br=
>
DirectoryIndex index.jsp<br>
<font color=3D"#888888"><br>Igor</font><div><div></div><div><br><br><div cl=
ass=3D"gmail_quote">On Tue, Feb 16, 2010 at 10:59 AM, Charan <span dir=3D"l=
tr"><<a href=3D"mailto:charan314 [at] gmail.com" target=3D"_blank">charan314 [at] =
gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span style=3D"fo=
nt-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(51, 51, =
51);">Hi,<br style=3D"margin: 0px; padding: 0px;">
<br style=3D"margin: 0px; padding: 0px;">for the website I'm migrating,=
all the folders have their welcome page as index.jsp and that page is in t=
he weblogic.<br style=3D"margin: 0px; padding: 0px;">
If I click on any link it's going until the folder but not picking up t=
he index.jsp. Suppose that I have the below folders, how can I have a gener=
ic rule using Rewrite module for redirecting them to default index.jsp<br s=
tyle=3D"margin: 0px; padding: 0px;">
<br style=3D"margin: 0px; padding: 0px;">/ar =A0--> should redirect to /=
ar/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/sample/product-id-sample --> should redirect to /ar/sample/product-i=
d-sample/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/sample/articles-tips --> should redirect to /ar/sample/articles-tips=
/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/start/getting-started-faqs --> should redirect to ar/start/getting-s=
tarted-faqs/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/ongoingsupport/all-faqs --> should redirect to /ar/ongoingsupport/al=
l-faqs/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/start/insurance-basics=A0--> should redirect to ar/start/insurance-b=
asics/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/as --> should redirect to /as/index.jsp<br style=3D"margin: 0px; paddin=
g: 0px;">/as/start/starting-treatment --> should redirect to /as/start/s=
tarting-treatment/index.jsp</span><br clear=3D"all"><font color=3D"#888888"=
>
<br>-- <br>Thanks,<br><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear=3D"all"><br></div></div>-- <br=
>Thanks,<br>Charan <br>
</div>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear=3D"all"><br></div></div>-- <br=
>Thanks,<br>Charan <br>
</div>
</blockquote></div><br>
--0016e644ddde02f881047fb0b155--
Re: redirecting index.jsp to its folder
--0016e6481a500a896d047fb0d491
Content-Type: text/plain; charset=ISO-8859-1
Also the <Location > directive is worth looking at in your case.
Did you define your Directory directive like this?
<Directory /ar>
DirectoryIndex index.jsp
# someother directives
.
</Directory>
Cheers,
Igor
On Tue, Feb 16, 2010 at 4:06 PM, Igor Cicimov <icicimov [at] gmail.com> wrote:
> So what exactly you are trying to achieve now can you be more specific? I
> assume you have already set up the apache to be reverse proxy for the
> weblogic application...
> Also what does the war file have to do with anything? When you deploy the
> app in weblogic, the server explodes (unjar) the war file and creates the
> appropriate directory structure for the java application so all the files
> are there on the weblogic server. So with the reverse proxy you just map
> that file structure to the apache server.
>
> ProxyRequest off
> ProxyPass /ar/ http://your-weblogic-server-ip:your-weblogic-port/ar/
> ProxyPassReverse /ar/ http://your-weblogic-server-ip:your-weblogic-port
> /ar/
> .
> .
> <DirectoryMatch /ar/*>
> DirectoryIndex index.jsp
> # someother directives
> .
> </Directory>
>
> I guess your set up should look something like this. Could you post the
> relevant sections of your config file?
>
> Otherwise if you have to use redirection something like this should work
> (not tested):
>
> RewriteEngine On
> RewriteRule ^/a([rs])(.*)$ /a$1$2/index.jsp
>
>
> Igor
>
>
> On Tue, Feb 16, 2010 at 3:39 PM, Charan <charan314 [at] gmail.com> wrote:
>
>> I tried but that didn't work for me.
>>
>> One concern I have is how can Apache look for the index.jsp when they are
>> in a war file which is deployed onto weblogic. Apache can look for files
>> only under the docroot.
>>
>>
>> On Mon, Feb 15, 2010 at 7:43 PM, Igor Cicimov <icicimov [at] gmail.com> wrote:
>>
>>> http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryi ndex
>>>
>>>
>>> On Tue, Feb 16, 2010 at 1:42 PM, Charan <charan314 [at] gmail.com> wrote:
>>>
>>>> Is it possible to use DirectoryIndex eventhough I dont have the
>>>> index.jsp in the docroot
>>>>
>>>>
>>>> On Mon, Feb 15, 2010 at 4:21 PM, Igor Cicimov <icicimov [at] gmail.com>wrote:
>>>>
>>>>> Don't need redirect have a look at DirectoryIndex directive.
>>>>>
>>>>> e.g.
>>>>> DirectoryIndex index.jsp
>>>>>
>>>>> Igor
>>>>>
>>>>>
>>>>> On Tue, Feb 16, 2010 at 10:59 AM, Charan <charan314 [at] gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> for the website I'm migrating, all the folders have their welcome page
>>>>>> as index.jsp and that page is in the weblogic.
>>>>>> If I click on any link it's going until the folder but not picking up
>>>>>> the index.jsp. Suppose that I have the below folders, how can I have a
>>>>>> generic rule using Rewrite module for redirecting them to default index.jsp
>>>>>>
>>>>>> /ar --> should redirect to /ar/index.jsp
>>>>>> /ar/sample/product-id-sample --> should redirect to
>>>>>> /ar/sample/product-id-sample/index.jsp
>>>>>> /ar/sample/articles-tips --> should redirect to
>>>>>> /ar/sample/articles-tips/index.jsp
>>>>>> /ar/start/getting-started-faqs --> should redirect to
>>>>>> ar/start/getting-started-faqs/index.jsp
>>>>>> /ar/ongoingsupport/all-faqs --> should redirect to
>>>>>> /ar/ongoingsupport/all-faqs/index.jsp
>>>>>> /ar/start/insurance-basics --> should redirect to
>>>>>> ar/start/insurance-basics/index.jsp
>>>>>> /as --> should redirect to /as/index.jsp
>>>>>> /as/start/starting-treatment --> should redirect to
>>>>>> /as/start/starting-treatment/index.jsp
>>>>>>
>>>>>> --
>>>>>> Thanks,
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks,
>>>> Charan
>>>>
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Charan
>>
>
>
--0016e6481a500a896d047fb0d491
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Also the <Location > directive is worth looking at in your case.<br><=
br>Did you define your Directory directive like this?<br><br><Directory =
/ar><br>=A0=A0=A0=A0=A0 DirectoryIndex index.jsp<br>
=A0=A0=A0=A0=A0 # someother directives<br>=A0=A0=A0=A0=A0 .<br></Directo=
ry><br><br>Cheers,<br>Igor<br><br><div class=3D"gmail_quote">On Tue, Feb=
16, 2010 at 4:06 PM, Igor Cicimov <span dir=3D"ltr"><<a href=3D"mailto:=
icicimov [at] gmail.com">icicimov [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">So what exactly y=
ou are trying to achieve now can you be more specific? I assume you have al=
ready set up the apache to be reverse proxy for the weblogic application...=
<br>
Also what does the war file have to do with anything? When you deploy the a=
pp in weblogic, the server explodes (unjar) the war file and creates the ap=
propriate directory structure for the java application so all the files are=
there on the weblogic server. So with the reverse proxy you just map that =
file structure to the apache server.<br>
<br>ProxyRequest off<br>ProxyPass /ar/ http://your-weblogic-server-ip:your-=
weblogic-port/ar/<br>ProxyPassReverse /ar/ http://your-weblogic-server-ip:y=
our-weblogic-port/ar/<br>.<br>.<br><DirectoryMatch /ar/*><br>=A0=A0=
=A0=A0=A0 DirectoryIndex index.jsp<br>
=A0=A0=A0=A0=A0 # someother directives<br>=A0=A0=A0=A0=A0 .<br></Directo=
ry><br><br>I guess your set up should look something like this. Could yo=
u post the relevant sections of your config file?<br><br>Otherwise if you h=
ave to use redirection something like this should work (not tested):<br>
<br>RewriteEngine On<br>RewriteRule ^/a([rs])(.*)$ /a$1$2/index.jsp<br><fon=
t color=3D"#888888"><br><br>Igor</font><div><div></div><div class=3D"h5"><b=
r><br><div class=3D"gmail_quote">On Tue, Feb 16, 2010 at 3:39 PM, Charan <s=
pan dir=3D"ltr"><<a href=3D"mailto:charan314 [at] gmail.com" target=3D"_blank=
">charan314 [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I tried but that =
didn't work for me.<div><br></div><div>One concern I have is how can Ap=
ache look for the index.jsp when they are in a war file which is deployed o=
nto weblogic. Apache can look for files only under the docroot.<div>
<div></div><div><br>
<br><div class=3D"gmail_quote">On Mon, Feb 15, 2010 at 7:43 PM, Igor Cicimo=
v <span dir=3D"ltr"><<a href=3D"mailto:icicimov [at] gmail.com" target=3D"_bl=
ank">icicimov [at] gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt=
0pt 0.8ex; padding-left: 1ex;">
<a href=3D"http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex=
" target=3D"_blank">http://httpd.apache.org/docs/2.2/mod/mod_d ir.html#direc=
toryindex</a><div><div></div><div><br><br><div class=3D"gmail_quote">
On Tue, Feb 16, 2010 at 1:42 PM, Charan <span dir=3D"ltr"><<a href=3D"ma=
ilto:charan314 [at] gmail.com" target=3D"_blank">charan314 [at] gmail.com</a>></sp=
an> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is it possible to=
use DirectoryIndex eventhough I dont have the index.jsp in the docroot<div=
>
<div><div></div><div><br><br><div class=3D"gmail_quote">On Mon, Feb 15, 201=
0 at 4:21 PM, Igor Cicimov <span dir=3D"ltr"><<a href=3D"mailto:icicimov=
[at] gmail.com" target=3D"_blank">icicimov [at] gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Don't need re=
direct have a look at DirectoryIndex directive.<code></code><br><br>e.g.<br=
>
DirectoryIndex index.jsp<br>
<font color=3D"#888888"><br>Igor</font><div><div></div><div><br><br><div cl=
ass=3D"gmail_quote">On Tue, Feb 16, 2010 at 10:59 AM, Charan <span dir=3D"l=
tr"><<a href=3D"mailto:charan314 [at] gmail.com" target=3D"_blank">charan314 [at] =
gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span style=3D"fo=
nt-family: Arial,Helvetica,sans-serif; font-size: 12px; color: rgb(51, 51, =
51);">Hi,<br style=3D"margin: 0px; padding: 0px;">
<br style=3D"margin: 0px; padding: 0px;">for the website I'm migrating,=
all the folders have their welcome page as index.jsp and that page is in t=
he weblogic.<br style=3D"margin: 0px; padding: 0px;">
If I click on any link it's going until the folder but not picking up t=
he index.jsp. Suppose that I have the below folders, how can I have a gener=
ic rule using Rewrite module for redirecting them to default index.jsp<br s=
tyle=3D"margin: 0px; padding: 0px;">
<br style=3D"margin: 0px; padding: 0px;">/ar =A0--> should redirect to /=
ar/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/sample/product-id-sample --> should redirect to /ar/sample/product-i=
d-sample/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/sample/articles-tips --> should redirect to /ar/sample/articles-tips=
/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/start/getting-started-faqs --> should redirect to ar/start/getting-s=
tarted-faqs/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/ongoingsupport/all-faqs --> should redirect to /ar/ongoingsupport/al=
l-faqs/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/ar/start/insurance-basics=A0--> should redirect to ar/start/insurance-b=
asics/index.jsp<br style=3D"margin: 0px; padding: 0px;">
/as --> should redirect to /as/index.jsp<br style=3D"margin: 0px; paddin=
g: 0px;">/as/start/starting-treatment --> should redirect to /as/start/s=
tarting-treatment/index.jsp</span><br clear=3D"all"><font color=3D"#888888"=
>
<br>-- <br>Thanks,<br><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear=3D"all"><br></div></div>-- <br=
>Thanks,<br>Charan <br>
</div>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear=3D"all"><br></div></div>-- <br=
>Thanks,<br>Charan <br>
</div>
</blockquote></div><br>
</div></div></blockquote></div><br>
--0016e6481a500a896d047fb0d491--