Toggle navigation
Homepage
About
Download
Support
Monitor
Weblog
Forum
nginx rule to Hiawatha
Amar
6 October 2011, 16:27
Hello Hugo
Do you know any nginx ? : )
I have this really simple rewrite rule from apps how to but they recommend nginx. I want to use Hiawatha but.. : )
Rule is:
if (-f $request_filename.html) {
rewrite (.*) $1.html break;
}
or as it says:
Rewrite requests from /.+/ to /.+\.html/
Thank you
Hiawatha version: 7.7
Operating System: Debian
Hugo Leisink
6 October 2011, 16:44
Try this URL toolkit rule:
UrlToolkit {
ToolkitID = your_app
RequestURI isfile Return
Match (.*) Rewrite $1.html
}
This topic has been closed.
Back