[Seaside] Css file from lighttpd server

dtrussardi at tiscali.it dtrussardi at tiscali.it
Tue Jun 11 16:12:19 UTC 2013


	i have a problem with a CSS file managed from Lighttpd server.

A) first setup	

	The stylesheet  styleCupCss  when load from WAFileLibrary subclass with the code:

		updateRoot: anHtmlRoot 
		super updateRoot: anHtmlRoot.
		anHtmlRoot stylesheet url: JQCupertinoTheme / #styleCupCss.

	is right interpreted by the browser as a css file.

	The browser for this element report:

		DateTue,		 11 Jun 2013 15:56:47 GMT
		Content-Length	33527
		Server			Zinc HTTP Components 1.0
		Content-Type	text/css
		Cache-Control	max-age=1800
		Expires			Tue, 11 Jun 2013 16:26:47 GMT

B) setup with error

	After i create a syleCup.Css  file on the server and load it with: 

		anHtmlRoot stylesheet	url: 'http://Server/Jquery-ui-1.10.3.custom/css/cupertino/styleCup.Css'. 

	In this case the browser don't right  interpreted the file

	The browser  in this case report:
	Date			Tue, 11 Jun 2013 15:53:52 GMT
	Content-Length	33527
	Server			lighttpd/1.4.28
	Content-Type	application/octet-stream
	Accept-Ranges	bytes

	I need to setup the styleCup.Css 	file    with   some other informations ?

	Thanks for any considerations.



More information about the seaside mailing list