Markus Hennecke
|
6f0e3032f2
Don't add the trailing slash to language rx
|
6 years ago |
Markus Hennecke
|
6bbd26e47a
Fix page match regex
|
6 years ago |
Markus Hennecke
|
94a4e55ac1
Handle the ACCEPPT_LANGUAGE request header
|
6 years ago |
Markus Hennecke
|
e65c9db0eb
Add command line parameters for invocation w/o CGI
|
6 years ago |
Markus Hennecke
|
d640d818a0
Better handling of language part, w/o trailing slash
|
6 years ago |
Markus Hennecke
|
aefda61079
Use another link structure with language dir
|
6 years ago |
Markus Hennecke
|
b519e45abb
Better error handling, return 404 if page not found
|
6 years ago |
Markus Hennecke
|
a74b2115fa
Add function to transform headers to a buffer list
|
6 years ago |
Markus Hennecke
|
6ed608a55c
Enable calling tmpl_data_free() with NULL
|
6 years ago |
Markus Hennecke
|
c498b8bd4e
Add documentation for httpd and slowcgi setup
|
6 years ago |
Markus Hennecke
|
6798b18352
Make debugging a bit easier
|
6 years ago |
Markus Hennecke
|
865008001b
Parse the CONTENT variable before substituting
|
6 years ago |
Markus Hennecke
|
5ad88f2026
Fix handling of TMPL_INCLUDE
|
6 years ago |
Markus Hennecke
|
2996090c7f
Don't fail hard if templates are not found
|
6 years ago |
Markus Hennecke
|
1bc4b96f70
Allow underscores in page names
|
6 years ago |
Markus Hennecke
|
894dd469a2
Enable running from cli without leading / on arg
|
6 years ago |
Markus Hennecke
|
fd00d0c212
Handle priority of accpeted languages correctly
|
6 years ago |
Markus Hennecke
|
ddf6802437
Add first page generator sketch
|
6 years ago |
Markus Hennecke
|
7310cce9de
Add example printing CGI environment variables
|
6 years ago |
Markus Hennecke
|
e3b68791f1
Allow resetting, e.g. erasing variables
|
6 years ago |
Markus Hennecke
|
aeec7b1c9c
Make it possible to set a loop w/o creating it
|
6 years ago |
Markus Hennecke
|
39b754925b
Add move for variables taking ownership of ptr
|
6 years ago |
Markus Hennecke
|
e0ffccf9b6
Add perl like chomp function for mmaps
|
6 years ago |
Markus Hennecke
|
a449eb7e96
Don't close the fd passed to fdopendir
|
6 years ago |
Markus Hennecke
|
af5bfa3fc5
Be compatible to perl HTML::Template and ign. case
|
6 years ago |
Markus Hennecke
|
cb38eeb685
Add helper funcs for memory maps and rx error msgs
|
6 years ago |
Markus Hennecke
|
ff5df20bbd
Add get_dir_entries from file descriptor variant
|
6 years ago |
Markus Hennecke
|
8fa281401d
Functions to add non zero terminated string data
|
6 years ago |
Markus Hennecke
|
501f584324
Add code to test new template implementation
|
6 years ago |
Markus Hennecke
|
33c4632b14
Add TMPL_INCLUDE as an alias for TMPL_INCL
|
6 years ago |