[us...@httpd] Error 403 with POST but not GET

2009-06-10 Thread Jonathan Gazeley
Hi, I have some perl CGI scripts in my cgi-bin. The setup was working perfectly on my old server. I've now moved the scripts to a replacement server. The new server responds when I send a GET request to the script, but throws an error 403 Forbidden if I send a POST request to the script.

Re: [us...@httpd] Error 403 with POST but not GET

2009-06-10 Thread André Warnier
Jonathan Gazeley wrote: x.x.x.x - jg4461 [09/Jun/2009:07:18:32 +0100] GET /cgi-bin/registerMAC.pl?ticket=ST-39049938-KDf1eIxd5gH0dodU8KzX HTTP/1.1 200 4792 x.x.x.x - - [09/Jun/2009:07:19:40 +0100] POST /cgi-bin/registerMAC.pl HTTP/1.1 403 313 Just from the name and arguments of the script,

Re: [us...@httpd] Error 403 with POST but not GET

2009-06-10 Thread Jonathan Gazeley
Hi Andre, Thanks for your reply registerMAC.pl accepts username, MAC address and device type as arguments so users can register their devices in our database. The database is later relied on for authentication with FreeRADIUS, but this perl script does not do authorization or authentication.