CGIlua: Custom 404 pages

20 views
Skip to first unread message

Etiene Dalcol

unread,
Oct 11, 2016, 7:59:59 AM10/11/16
to Kepler Developers
Hello list,

Suppose I want to make a custom 404 page with cgilua, how do I change the status code to 404? I don't want my page to show status 200 on this case. 

Thanks,
Etiene

tomas

unread,
Oct 11, 2016, 9:32:18 AM10/11/16
to kepler-...@googlegroups.com, Etiene Dalcol
Hi Etiene

> Suppose I want to make a custom 404 page with cgilua, how do I change
> the status code to 404? I don't want my page to show status 200 on
> this case.
You'll have to use WSAPI to do that. I am afraid I am not right person
to help you in this matter.

Regards,
Tomás
Reply all
Reply to author
Forward
0 new messages