[us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Charan
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

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Igor Cicimov
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 charan...@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

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Charan
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 icici...@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

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Igor Cicimov
http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex On Tue, Feb 16, 2010 at 1:42 PM, Charan charan...@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 icici...@gmail.com

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Charan
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 icici...@gmail.com wrote:

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Igor Cicimov
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

Re: [us...@httpd] redirecting index.jsp to its folder

2010-02-15 Thread Igor Cicimov
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 icici...@gmail.com wrote: