Can you post your workers2.properties as it looks like you haven't mapped the style sheets.
-----Original Message----- From: Yan Kanai [mailto:[EMAIL PROTECTED] Sent: 12 September 2004 11:46 To: [EMAIL PROTECTED] Subject: Cannot see external css file I'm Kanai in Japan. I am trying to integrate Tomcat 4.1.30 and Apache 2.0.49 with jk2 connector(ver 2.0.4) on Windows XP SP1 PC, but cannot see external css file. When I see html file referring css file on tomcat directly, tomcat can find css file. But when I see html file through Apache, apache cannot find css file. I find below error message in the error.log of apache. [Sun Sep 12 19:05:37 2004] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/examples/style/atomic.css I put atomic.css on above folder, but apache cannnot find css file. I attached test program and setting files. testcss.html --- please put on %TOMCAT_HOME%webapps\examples atomic.css --- please put on %TOMCAT_HOME%webapps\examples\style workers2.properties --- This is jk2 setting file. If you access http://localhost:8080/examples/testcss.html, you can see web page that backgroud color is blue. But if you http://localhost/examples/testcss.html, you can see web page with white background. Please let me know how to setup tomcat and apache in order to see external css file. ---- testcss.html ---- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja"> <head> <meta http-equiv="content-type" content="text/html"> <meta http-equiv="content-style-type" content="text/css"> <title>Style Sheet Test</title> <link rel="stylesheet" href="./style/atomic.css" type="text/css" media="screen"> </head> <body> <p>This is Style Sheet Test.</p> </body> </html> ---- style/atomic.css ---- body { padding: 1em 5%; background: #ccf } p { margin: 0.5em 0; padding: 1em; text-indent: 1em; line-height: 1.5; background: #eef; font-size:20pt } ---- workers2.properties ---- # log file [logger.file:0] level=ERROR file=${serverRoot}/logs/jk2.log # shared memory [shm:] disabled=1 #info=Scoreboard. Requried for reconfiguration and status with multiprocess servers. #file=anon # Defines a load balancer named lb. Use even if you only have one machine. #[lb:lb] # Example socket channel, override port and host. [channel.socket:localhost:8009] #port=8009 #host=127.0.0.1 # define the worker #[ajp13:localhost:8009] #channel=channel.socket:localhost:8009 #group=lb [channel.socket:localhost:8009] info=Ajp13 forwarding over socket ## host=localhost ## port=8009 ## group=lb # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the Tomcat examples #group=lb [uri:/tomcat-docs/*] info=Map the Tomcat Docs [uri:/scarab/style/*.css] info=Map the Scarab CSS files [uri:/scarab/*] info=Map the Scarab #[status:] #info=Status worker, displays runtime information [status:] [uri:/jkstatus/*] group=status: #[uri:/jkstatus/*] #info=The Tomcat /jkstatus handler #group=status: -- Yan Kanai ([EMAIL PROTECTED]) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]