You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anke Steuernagel <an...@opus5.de> on 2000/08/07 20:01:09 UTC
perl scripts mixed with servlet zone /
Hi,
could someone help me please in defining an ApJServMount directive
with mapping jsp pages to a specific virtual engine port and
simultaneous existence of (e. g. email) cgi scripts in /cgi-bin/
I've configured
LoadModule jserv_module libexec/tomcat/mod_jserv.so
<IfModule mod_jserv.c>
ApJServManual on
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogFile /www/apache-1.3.9-dso/logs/mod_jserv_tomcat.log
ApJServLogLevel notice
ApJServDefaultProtocol ajpv12
ApJServDefaultHost localhost
AddType test/jsp .jsp
AddHandler jserv-servlet .jsp
</IfModule>
and (one of more) virtual host:
Listen 192.100.100.1:80
<VirtualHost 192.100.100.1:80>
DocumentRoot /www/docs/example
ScriptAlias /cgi-bin /www/docs/example/cgi-bin
ServerName www.example.de
ErrorLog /www/logs/example.de.error-log
CustomLog /www/logs/example.de.access-log combined
Options Indexes FollowSymLinks
DirectoryIndex index.htm index.jsp
<IfModule mod_jserv.c>
ApJServMount / ajpv12://localhost:8008/menuconfig
</IfModule>
</VirtualHost>
In menuconfig there are classes which support dynamic
creating of navigations (created out of an ini file which
resides in CLASSPATH.
With this configuration the (perl) cgi scripts are shown as plain text
in browser window. :-((
Many thanks for any hint, :-/
bye, anke
--
[ a n k e s t e u e r n a g e l ]
diplom-informatikerin (fh) http://www.opus5.de
opus 5 interaktive medien gmbh frankfurter straße 151c
63303 dreieich fon: +49 6103 5853-146 fax: -200