Re: matching all POST results in URL-SPEC

Miernik <[email protected]> Sat, 4 Mar 2006 13:17:01 +0100
Newsgroups gmane.network.wwwoffle.user
Message-ID <[email protected]>
Andrew M. Bishop <[email protected]> wrote:
>> <http://*/*!POST*>                              age = 0
>> <http://*/*?*!POST*>                            age = 0
>> 
>> it works both for URLs with CGI parameters, and without.
> 
> OK, looking at the code I think that you are correct, the POST part of
> the URL is present when WWWOFFLE processes the URL.  It is removed
> when requesting from the server, but otherwise WWWOFFLE treats it like
> it was real.

(...)

> Have you looked at the README.CONF file that comes with WWWOFFLE or
> the URL http://localhost:8080/configuration/#URL-SPECIFICATION
> 
> If you use a wildcard on the path part of the URL it applies to
> anything on that path, even CGIs that have their own arguments.

Yes, but it appears that if there is a POST in the URL, and a 'GET' CGI
with arguments in the same URL, then it doesn't work. You have to
write:

http://*/*?*!POST*

Writing just:

http://*/*!POST*

doesn't work.

-- 
Miernik             _________________________  xmpp:[email protected]
___________________/_______________________/      mailto:[email protected]
Protect Europe from a legal disaster. Petition against software patents
http://www.noepatents.org/index_html?LANG=en