Question : apache -weblogic configuration

Hi,

I have index.jsp in weblogic.

when I open http://:, it is giving me the directory listing as the static content is in web server docroot.
I want it to open directly http://:/index.jsp when I go to http://:

I can redirect to index.jsp by placing index.html in the docroot but is there any other way to open index.jsp than doing this.

The below code has been added in the httpd.conf file
Code Snippet:
1:
2:
3:
4:
5:
6:

WebLogicHost 
WebLogicPort 
MatchExpression *.jsp
PathPrepend /

Answer : apache -weblogic configuration

Try removing the path prepend on line 5 in your sample from above and letting just the match-expression handle the redirect.

If you have a "directory" directive for this site, try adding this line to that block if just removing line 5 doesn't help.

SetHandler weblogic-handler


Do you still want to serve your static content from the same root directory as where you want the index.jsp sent to WebLogic?
Random Solutions  
 
programming4us programming4us