title: JQuery getting error 404 but can see the response in Firebug
body: <p>My site developed in Codeigniter, using JQuery post method to retrieve the data, it is showing 404 not found error while I see in firebug it is showing the correct output.</p>
  
  <p>It is working fine in local system. My site is under sub domain on live instance which may cause the issue?.</p>
  
  <p>Please hint what could be the issue.</p>
  
  <p>Here is my htaccess file</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  Options +FollowSymLinks
  RewriteEngine on
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
  &lt;/IfModule&gt; 
  </code></pre>
  
  <p>Here is the firebug response details</p>
  
  <pre><code>Connection  Keep-Alive
  Content-Type    text/html
  Date    Mon, 23 Jul 2012 12:28:26 GMT
  Keep-Alive  timeout=3, max=29
  Server  Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_fcgid/2.3.6
  Transfer-Encoding   chunked
  X-Powered-By    PHP/5.2.17
  Request Headers
  Accept  text/html, */*; q=0.01
  Accept-Encoding gzip, deflate
  Accept-Language en-us,en;q=0.5
  Connection  keep-alive
  </code></pre>
  
  <p>Here is my code</p>
  
  <pre><code>function updatepanel()
  {
  $.post("http://svims.noq.co.in/svims/get_token/28" ,
  function (d)
  {
      $("#tokenview").html(d);
  }
  );
  }
  </code></pre>
  
  <p>Here is the firebug response.</p>
  
  <p>"NetworkError: 404 Not Found - <a href="http://svims.noq.co.in/svims/token_generator" rel="nofollow">http://svims.noq.co.in/svims/token_generator</a>"</p>
  
  <p>token_generator
  POST <a href="http://svims.noq.co.in/svims/get_token/28" rel="nofollow">http://svims.noq.co.in/svims/get_token/28</a></p>
  
  <p>404 Not Found
          2.36s</p>
  
  <p>========================================
  Issue was, sub domain name and controller name should not be same. I renamed the controller name and it works fine.</p>