aspose file tools*
The moose likes JBoss/WildFly and the fly likes Setting Document Root for SSL in Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Setting Document Root for SSL in Jboss" Watch "Setting Document Root for SSL in Jboss" New topic
Author

Setting Document Root for SSL in Jboss

Prakash Kumar M
Greenhorn

Joined: Jun 29, 2009
Posts: 18
Hi,

I have a war file called books.war containing folders booksecure, booksweb,WEB-INF.

booksecure in turn contains a folder called cart. I have deployed this application on jboss 5.0.1 server.

booksweb contains codebase related to website and booksecure/cart folder contains code base related to inventory shopping cart.

As i needed to run shoppingcart on secure mode i configured SSL to run on port 443 and website code to run on port 80.

Configuring SSL was successfull and fine. But while accessing the cart i had the problem.

on accessing http://localhost/books directed me to index.jsp available in books.war. this is fine

But i have a requirement to run the cart by linking to URL https://localhost/cart instead of https://localhost/booksecure/cart

Is it possible to set the document root of all my secure applications to booksecure folder?

so that the booksecure folder from URL is masked and hence only https://localhost/cart is shown to the end user.

Please let me know how can this be done in jboss server. I have tried setting document root in iplanet web server and was successfull with above requirement.

Please suggest.
Prakash Kumar M
Greenhorn

Joined: Jun 29, 2009
Posts: 18
any help..

please let me know
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting Document Root for SSL in Jboss
 
Similar Threads
SSL in jboss for only one instance of deploy folder
"Seam in Action" source code problem: SSL error when try to login "/open18"
Can't display web app security
Context Path Problem
SSL configuration problem in Jboss 5.1.0