Welcome! Log In Create A New Profile

Advanced

POST method on "static" files

François Battail
December 03, 2010 04:56AM
Dear list,

This topic has already been discussed (see:
http://forum.nginx.org/read.php?2,2414,47301 ) but so far the patch of
Igor has not been applied to the 0.8.X or 0.9.X branch.

I use a lot SSI to mix static and dynamic files, for example:

main page:

<!--#include virtual="header.html"-->
<form method="post" action "search.html">
<label for="q">Search: <input type="text" id="q" /></label>
</form>
<!--#include virtual="footer.html"-->

search page (POST):

<!--#include virtual="header.html"-->
<!--#include virtual="/ssi/SpecificNginxModuleProcessing"-->
<!--#include virtual="footer.html"-->

nginx.conf:

location /ssi
{
internal;
MyModuleHandler on;
}

So the 405 - Not allowed error code is a huge limitation to do things
like that.

The patch is nearly two years old and I don't see how to integrate it on
0.9.X, any advice about how to do that? Is there any chance that this
feature goes mainstream on the development branch?

Best regards


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

POST method on "static" files

François Battail December 03, 2010 04:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 123
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready