title: Curl and wget returning 404 on hosted server , works fine from outside
body: <p>I am trying to do a simple curl command from from my hosted server and it returns 404 , but when i run the same command form my own machine or browser it works fine .</p>
  
  <p>The weird part is i am running two websites on same server and the second website is working fine by using curl on the server or from my machine . But this one has the issue where it will work for index page , but any other page will returns 404 .</p>
  
  <p>I have checked out htacess and also logs , nothing helpfull .</p>
  
  <p>I looked at many other posts and google but could not find a working answer .Appreciate your help . </p>
  
  <p>I am using Cent Os 4 . </p>