Re: [users@httpd] Add Request Method by using SCRIPT / Bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Peter Mayer wrote:

> http://httpd.apache.org/docs/mod/mod_actions.html#script
> "Prior to Apache 1.3.10, method can only be one of GET, POST, PUT, or
> DELETE. As of 1.3.10, any arbitrary method name may be used. Method names
> are case-sensitive, so Script PUT and Script put  have two entirely
> different effects."
>
> So I added the following line to my apache config to make a proof of
> concept:
> "Script SEARCH /cgi-bin/printenv.pl"
>
> But running the configuration test tool shows the following error:
> "Syntax error on line 941 of C:/Programme/Apache
> Group/Apache2/conf/httpd.conf:
> Unknown method type for Script"
>
> How can I resolve this?

Use 2.1 if you can. This is a bug in 2.0, which wasn't considered so 
important so far that the fix it would be worth backporting ;)

FWIW, the bug is, that Apache 2 was forked from the 1.3 code base just 
before 1.3.10 and nobody bothered to implement this in the 2.0 tree. In 2.1 
it was re-added, as said.

nd

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux