Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 6.1.6
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
I've run into a problem trying to configure two different CGI
servlets within the same context under jetty 6.1.6.
I'm trying to run two different types of scripts (perl and python)
from the one directory. Unfortunately it seems that whichever is
configured last always takes precedence.
I will attach my xml configuration and two sample scripts after submitting this issue. With the given
configuration the perl script will run successfully, but the python
script has the syntax error below (which is the error shown when
trying to run this script with perl).
syntax error at /private/tmp/test/foo.py line 2, near "print"
Reversing the order of the setInitParameter calls means that all
scripts are run with python (causing failure in the opposite direction).
It would be very useful to me if Jetty handled this configuration in such a way that it was possible to configure two separate commandPrefixes.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | perl.pl [ 30747 ] | |
| Attachment | JETTY-468.xml [ 30746 ] | |
| Attachment | python.py [ 30748 ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Attached configuration and example perl and python scripts.