Hi All,

We are using Apache 2.2 + Tomcat 7 + mod_jk (all 64-bit) on a RedHat box.

I have configured the settings such that the static content like css and
javascript are served by httpd rather than tomcat. However, when I do so,
the css files are returned with a content type=text/plain rather than
content type=text/css. Why is that so?

Here are the snippets from the relevant files..

/* workers.properties */
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009


/* httpd-vhosts.conf */
DocumentRoot "/hosts/example.com/webapps/ROOT"
JkUnMount  /css/* worker1
JkUnMount  /img/* worker1
JkUnMount  /js/* worker1
JkMount  /* worker1


Thanks,
Joe

Reply via email to