I have hosting with Fatcow. I had the same curl problem and I got in touch with FatCow's tech support. They told me that I need to direct my curls to usr/bin/curl as opposed to api/rest/test_curl. I'm not sure if the tech support guy knew what he was talking about, but this didn't work. Has anyone with fatcow figured this out yet? I'd appreciate if somebody could shed some light on this.
Also, I did try revising the .htacess file (added the question mark, etc.). Also I never get the "true" value when I go to the api/rest/test_curl path directly.
If somebody could help, I'd appreciate it.
Thanks in advance.
Adding the following lines to your .htaccess file in the install directory. With fatcow, I had to create one.
RewriteEngine on
RewriteRule ^$ index.php?/ [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?/$1 [QSA,L]
Post new comment