i all,
I have a problem with
tomcat 6.0.18
Apache/2.2.9
mod_jk/1.2.27
Some times the content-type sent from my tomcat is ignored and the
response have content type text/plain.
For this reason some servlet that should return excel file and set the
contentType("application/excel") have bad beahviour on the browser: the
file was not recognized as excel but as binary generic file.
The problem is present also for normal html page: some times the HTML
source are displayed on the browser.
I have found that mod_jk 1.26 was affected by this problem but the
problem was fixed
http://markmail.org/message/jk7ssoyhuadvjvh3
This is my configuration:
#Load mod_jk module
LoadModule jk_module modules/mod_jk.so
#Where to find workers.properties
JkWorkersFile conf/workers.properties
#Where to put jk logs
JkLogFile logs/mod_jk.log
#Set the jk log level
JkLogLevel debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
#JkOptions indicate to send SSL KEY SIZE
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
+FlushHeader
#JkRequestLogFormat set the request format
#JkRequestLogFormat "%w %V %T"
# Send /ROOT to worker named “myworker”
#JkMount /* myworker
Someone can help me ?
Many thanks,
regards
Marco
--
View this message in context:
http://www.nabble.com/bad-content-type-mod_jk-1.2.27-tp20892496p20892496.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]