It is possible to have jsp's served from the document root, with multiple virtual hosts?

Serge Knystautas

We mount jserv to .jsp files, and then set index.jsp as the document index. This leaves jserv to only handle .jsp files (so your /cgi-bin/ isn't handled by it), and Apache will map document roots to the JSP file which jserv can then handle.

In srm.conf: DirectoryIndex index.jsp

In httpd.conf: AddHandler jserv-servlet .jsp

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact