cURL returning a 404
Posted: Wed Jan 14, 2009 11:48 am
Hi, I am not sure if I am in the right section, so admins please move me if I am not. I am making a POST request using curl to one of the .php files on my server. The url is of form: http://myserver.com/php/form.php
When I try to make the request on my laptop running XAMPP, the request executes just fine, but when I run the same code on my hosting company's dedicated virtual box curl returns status of 404, page "http://myserver.com/php/form.php" not found. However if I put in that url in my browser's window, the browser can find it just fine. Does anybody know what's going on? Is it my php.ini, iptables rules, or what?
Thanks.
When I try to make the request on my laptop running XAMPP, the request executes just fine, but when I run the same code on my hosting company's dedicated virtual box curl returns status of 404, page "http://myserver.com/php/form.php" not found. However if I put in that url in my browser's window, the browser can find it just fine. Does anybody know what's going on? Is it my php.ini, iptables rules, or what?
Thanks.