You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sagara Wijetunga <sa...@yahoo.com> on 2002/12/16 08:10:31 UTC
[users@httpd] Can DirectoryIndex launch a servlet?
Can DirectoryIndex launch a servlet?
I use Apache 2.0.39 on a Pentium III based PC server
running Red Hat Linux 8.0.
I need to launch a servelet running on the same server
for the DirectoryIndex.
The DirectoryIndex I used is as follows:
DirectoryIndex index.html /mywebapp/servlet/index
It seems Apache does not support it. Is it a feature
not implemented yet or error?
Apache can launch a cgi script without a problem when
used as follows:
DirectoryIndex index.html /cgi-bin/index.cgi
In SSI processing, I can include the output of a
servlet when used as follows:
<!--#include virtual="/mywebapp/servlet/myServlet" -->
So, why not support similar syntax in DirectoryIndex
to launch a servlet to generate the index page? In
case, if this feature is not supported or not
implemented yet, is there any possibility to get it
implemented soon?
Many thanks in advance.
Regards
Sagara
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org