[Klone-users] dir_alias

Stefano Barbato barbato at koanlogic.com
Wed Sep 3 04:42:00 EDT 2008


You can read any config key from the global config object is ctx- 
 >config (klone/context.h must be included):

Example:

---[ page.kl1 ]---
<%!
     #include <klone/context.h>
%>
<body>

<%
     io_printf(out, "%s", u_config_get_subkey_value(ctx->config,  
"app_http.dir_alias"));
%>

</body>

------------------

bye,
s




On 03/set/08, at 10:05, diakat 2000 wrote:

> Hello again,
>
> Hope, anybody could give me an advice.
>
> I want to access on the dir_alias path within the klone webapp.
> I've looked at the klone documentation, all I found was
> http_alias_resolv in http_8h.
> But it's not really what I need.
>
> Is there a possibility to get access to the dir_alias within  
> a .kl1/.klx page?
>
> Best Regards,
> d.
>
> _______________________________________________
> 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