[Klone-users] CSS Question

Stefano Barbato barbato at koanlogic.com
Wed Apr 30 06:23:49 EDT 2008


Hi,

append --enable_sup_fs to the KLONE_CONF_ARGS variable in the top- 
level Makefile and add a dir_alias in the configuration file:

---[ Makefile ]---
...
KLONE_CONF_ARGS += --enable_sup_fs
...
------------------

---[ kloned.conf ]---
...
app_http
{
     type            http

     addr.type       IPv4
     addr.port       8080
     dir_root        /www

     dir_alias       /css /path/to/dir/css

}
---------------------

in html/kl1 pages add "/css" prefix to stylesheets links:

	<link rel="stylesheet" href="/css/my.css" type="text/css">

rebuild and restart klone.

note that the same setup can be used for any static file (html,  
images, etc.).

ciao!
s


On 30/apr/08, at 11:43, diakat 2000 wrote:

> Hello,
>
> I want to take all CSS files out of the Kloned.exe, so that CSS files
> easily can be replaced for new (without recompile klone).
> I've tried to handle it like an externally database (just take it out
> of the webapp directory), but it does'nt work. I think, there are
> still false references to the CSS in my klx-files.
>
> Whatever, this should be a small problem.
>
> Is there a common method to do this?
>
> Thanks for help and kind regards.
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>





More information about the klone-users mailing list