httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charan <charan...@gmail.com>
Subject Re: [users@httpd] redirecting index.jsp to its folder
Date Tue, 16 Feb 2010 02:42:11 GMT
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@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@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

Mime
View raw message