Forum

Cannot execute any commands like get and post

Fred
5 June 2015, 16:09
Hi Hugo,

I just noticed that on my server it is impossible to execute GET and POST as they all re-directed to 404 page
If I create a file with the following code and call it in the URL, The web page does show me TEST GET
<?php
echo 'test get';

but If i add some parameters in the url like http://mysite.com/test_get.php?cahoawn=fasdf_test I then get a 404 page

Could you please tell me if there is a setting to add/remove in hiawatha to get this working?

Thank you
Fred
Fred
5 June 2015, 16:38
Is it possible that Bugfix: POST data larger then 64kB via FastCGI. is back?
Hugo Leisink
5 June 2015, 16:40
You must have made a mistake somewhere. If the test_get.php is present within the mysite.com website, Hiawatha will not return a 404.

Post large than 64kb is possible, but you have to set MaxRequestSize to a proper value.
Fred
5 June 2015, 17:18
Hi Hugo
webadmin@webserve /www/mysite/httpdocs% ls -la
total 660
-rw-r----- 1 webadmin webadmin 118026 Jun 5 14:43 bridge_C4t3tU3w.php
-rw-r--r-- 1 www webadmin 418 Sep 25 2013 index.php
-rw-r--r-- 1 www webadmin 19930 Feb 18 23:40 license.txt
-rw-r--r-- 1 www webadmin 9137 May 7 08:19 readme.html
-rw-r--r-- 1 www webadmin 118048 Jun 5 14:02 sm_config_zJZWUdnE.php
-rw-r----- 1 www webadmin 23 Jun 5 14:29 test_get.php
drwxrwxrwx 2 www webadmin 2 Jun 5 14:00 tmp/
-rw-r--r-- 1 www webadmin 4951 Aug 20 2014 wp-activate.php
drwxr-xr-x 9 www webadmin 88 Mar 3 11:54 wp-admin/
-rw-r--r-- 1 www webadmin 271 Jan 8 2012 wp-blog-header.php
-rw-r--r-- 1 www webadmin 5007 Apr 24 15:29 wp-comments-post.php
-rw-r--r-- 1 www webadmin 3388 Feb 18 23:41 wp-config-sample.php
-rw-r--r-- 1 www webadmin 4207 Jun 1 20:54 wp-config.php
drwxr-xr-x 8 www webadmin 9 Jun 5 13:39 wp-content/
-rw-r--r-- 1 www webadmin 3115 Apr 24 15:29 wp-cron.php
drwxr-xr-x 12 www webadmin 125 Mar 3 11:54 wp-includes/
-rw-r--r-- 1 www webadmin 2380 Oct 24 2013 wp-links-opml.php
-rw-r--r-- 1 www webadmin 3123 Apr 24 15:29 wp-load.php
-rw-r--r-- 1 www webadmin 34241 Apr 24 15:29 wp-login.php
-rw-r--r-- 1 www webadmin 8252 Jul 17 2014 wp-mail.php
-rw-r--r-- 1 www webadmin 11048 Apr 24 15:29 wp-settings.php
-rw-r--r-- 1 www webadmin 25152 Nov 30 2014 wp-signup.php
-rw-r--r-- 1 www webadmin 4035 Nov 30 2014 wp-trackback.php
-rw-r--r-- 1 www webadmin 3032 Feb 9 2014 xmlrpc.php


As you can see the file test_get.php is there..
when i got to mysite.com/test_get.php
It return test get
but if i add any parameters to it, then it give a 404
Fred
5 June 2015, 17:19
Maybe I type the wrong code to test GET and POST feature.

I would appreciate If i could get a very basic working file ti redo my test if you can provide me with one
Hugo Leisink
8 June 2015, 10:44
I have no idea what goes wrong. I can assure you that Hiawatha works fine with URL parameters. There must be some other cause for this. Here's the proof: http://www.leisink.net/get.php?foo=bar
Fred
9 June 2015, 09:54
Thank you Hugo.

This topic has been closed.